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/manage_accounts/dialog.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/ui/manage_accounts') diff --git a/main/src/ui/manage_accounts/dialog.vala b/main/src/ui/manage_accounts/dialog.vala index efeff046..0a37b052 100644 --- a/main/src/ui/manage_accounts/dialog.vala +++ b/main/src/ui/manage_accounts/dialog.vala @@ -42,8 +42,8 @@ public class Dialog : Gtk.Dialog { if (selected_account != null) remove_account(account_row); }); image_button.clicked.connect(show_select_avatar); -// alias_hybrid.entry.key_release_event.connect(() => { selected_account.alias = alias_hybrid.text; return false; }); -// password_hybrid.entry.key_release_event.connect(() => { selected_account.password = password_hybrid.text; return false; }); + alias_hybrid.entry.changed.connect(() => { selected_account.alias = alias_hybrid.text; }); + password_hybrid.entry.changed.connect(() => { selected_account.password = password_hybrid.text; }); Util.LabelHybridGroup label_hybrid_group = new Util.LabelHybridGroup(); label_hybrid_group.add(alias_hybrid); -- cgit v1.2.3-70-g09d2