aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/add_conversation
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/add_conversation')
-rw-r--r--main/src/ui/add_conversation/conference_details_fragment.vala9
1 files changed, 2 insertions, 7 deletions
diff --git a/main/src/ui/add_conversation/conference_details_fragment.vala b/main/src/ui/add_conversation/conference_details_fragment.vala
index 83d5b507..11374032 100644
--- a/main/src/ui/add_conversation/conference_details_fragment.vala
+++ b/main/src/ui/add_conversation/conference_details_fragment.vala
@@ -110,13 +110,8 @@ protected class ConferenceDetailsFragment : Box {
// nick_entry.key_release_event.connect(on_nick_key_release_event);
// password_entry.key_release_event.connect(on_password_key_release_event);
- var jid_entry_controller = new EventControllerKey();
- jid_entry_controller.key_released.connect(() => { check_if_done(); });
- jid_entry.add_controller(jid_entry_controller);
-
- var nick_entry_controller = new EventControllerKey();
- nick_entry_controller.key_released.connect(() => { check_if_done(); });
- nick_entry.add_controller(nick_entry_controller);
+ jid_entry.changed.connect(() => { check_if_done(); });
+ nick_entry.changed.connect(() => { check_if_done(); });
check_if_done();