diff --git a/src/Entity/Browser/Container/Tab/Page/Response.php b/src/Entity/Browser/Container/Tab/Page/Response.php index 86aa94db..3396723d 100644 --- a/src/Entity/Browser/Container/Tab/Page/Response.php +++ b/src/Entity/Browser/Container/Tab/Page/Response.php @@ -81,9 +81,15 @@ class Response public function show( ?string $placeholder = null, - ?bool $visible = null + ?bool $visible = null, + bool $focus = true ): void { + if ($focus) + { + $this->query->gtk->grab_focus(); + } + if (!is_null($placeholder)) { $this->query->setPlaceholder(