diff options
Diffstat (limited to 'main/src/ui')
-rw-r--r-- | main/src/ui/unified_window_controller.vala | 3 |
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) => { |