From b1e6e51c4f79f57f0a01b183ef185408fb22cc36 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 9 Mar 2017 14:27:39 +0100 Subject: Fix MUC join w/o bookmark, with psw; change some event listeners key_press->key_release fixes #3 --- client/src/ui/conversation_selector/view.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/ui/conversation_selector') diff --git a/client/src/ui/conversation_selector/view.vala b/client/src/ui/conversation_selector/view.vala index 72e8bbec..c551d258 100644 --- a/client/src/ui/conversation_selector/view.vala +++ b/client/src/ui/conversation_selector/view.vala @@ -22,7 +22,7 @@ public class View : Grid { public View(StreamInteractor stream_interactor) { conversation_list = new List(stream_interactor); scrolled.add(conversation_list); - search_entry.key_press_event.connect(search_key_press_event); + search_entry.key_release_event.connect(search_key_release_event); search_entry.search_changed.connect(search_changed); } @@ -41,7 +41,7 @@ public class View : Grid { refilter(); } - private bool search_key_press_event(EventKey event) { + private bool search_key_release_event(EventKey event) { conversation_list.select_row(conversation_list.get_row_at_y(0)); if (event.keyval == Key.Down) { ConversationRow? row = (ConversationRow) conversation_list.get_row_at_index(0); -- cgit v1.2.3-70-g09d2