aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/ui/unified_window_controller.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/unified_window_controller.vala b/main/src/ui/unified_window_controller.vala
index 6ac941cc..157bbdff 100644
--- a/main/src/ui/unified_window_controller.vala
+++ b/main/src/ui/unified_window_controller.vala
@@ -68,7 +68,8 @@ public class UnifiedWindowController : Object {
if (window.conversation_frame.conversation != null && window.search_box.search_entry.text == "") {
reset_search_entry();
}
- window.search_box.search_entry.grab_focus();
+ window.search_box.search_entry.grab_focus_without_selecting();
+ window.search_box.search_entry.set_position((int)window.search_box.search_entry.text_length);
}
});
window.search_box.selected_item.connect((item) => {