summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/browser.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/browser.vala b/core/browser.vala
index 73d4e008..4bcf9a24 100644
--- a/core/browser.vala
+++ b/core/browser.vala
@@ -306,6 +306,9 @@ namespace Midori {
}
focus_timeout = Timeout.add (500, () => {
tab.grab_focus ();
+ search_entry.text = tab.get_find_controller ().get_search_text () ?? "";
+ search.visible = search_entry.text != "";
+ search.search_mode_enabled = search.visible;
goto_activated ();
return Source.REMOVE;
}, Priority.LOW);