aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/manage_accounts
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/manage_accounts
parent1559a7a60370c2aa0203e5c4222def4ae3258006 (diff)
downloaddino-32ae87a3c4cebaa05e0e702d744900cd414000db.tar.gz
dino-32ae87a3c4cebaa05e0e702d744900cd414000db.zip
Fix some form entries not updating properly
Diffstat (limited to 'main/src/ui/manage_accounts')
-rw-r--r--main/src/ui/manage_accounts/dialog.vala4
1 files changed, 2 insertions, 2 deletions
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);