Don't select all text in entry of message search when opening

fixes #601
This commit is contained in:
fiaxh 2019-11-19 17:01:48 +01:00
parent b02ee171c1
commit e6918b35b3

View file

@ -68,7 +68,8 @@ public class UnifiedWindowController : Object {
if (window.conversation_frame.conversation != null && window.search_box.search_entry.text == "") { if (window.conversation_frame.conversation != null && window.search_box.search_entry.text == "") {
reset_search_entry(); 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) => { window.search_box.selected_item.connect((item) => {