From 32ae87a3c4cebaa05e0e702d744900cd414000db Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 7 Feb 2023 20:08:18 +0100 Subject: Fix some form entries not updating properly --- main/src/ui/add_conversation/conference_details_fragment.vala | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'main/src/ui/add_conversation') 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(); -- cgit v1.2.3-70-g09d2