aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/add_conversation
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2023-02-07 20:08:18 +0100
committerMarvin W <git@larma.de>2023-02-07 20:23:51 +0100
commit32ae87a3c4cebaa05e0e702d744900cd414000db (patch)
treeeb9a14e8f88cfa7f08cc5225451aa06942aece96 /main/src/ui/add_conversation
parent1559a7a60370c2aa0203e5c4222def4ae3258006 (diff)
downloaddino-32ae87a3c4cebaa05e0e702d744900cd414000db.tar.gz
dino-32ae87a3c4cebaa05e0e702d744900cd414000db.zip
Fix some form entries not updating properly
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();