Fix regression with channel join button not getting sensitive

fixes #1284
This commit is contained in:
fiaxh 2022-10-09 11:38:59 +02:00
parent 7d8b08deca
commit 9c736af765

View file

@ -31,6 +31,7 @@ protected class ConferenceDetailsFragment : Box {
jid_label.label = value; jid_label.label = value;
jid_entry.text = value; jid_entry.text = value;
jid_stack.set_visible_child_name("label"); jid_stack.set_visible_child_name("label");
check_if_done();
} }
} }
public string? nick { public string? nick {
@ -39,6 +40,7 @@ protected class ConferenceDetailsFragment : Box {
nick_label.label = value ?? ""; nick_label.label = value ?? "";
nick_entry.text = value ?? ""; nick_entry.text = value ?? "";
nick_stack.set_visible_child_name("label"); nick_stack.set_visible_child_name("label");
check_if_done();
} }
} }
public string? password { public string? password {
@ -116,6 +118,7 @@ protected class ConferenceDetailsFragment : Box {
nick_entry_controller.key_released.connect(() => { check_if_done(); }); nick_entry_controller.key_released.connect(() => { check_if_done(); });
nick_entry.add_controller(nick_entry_controller); nick_entry.add_controller(nick_entry_controller);
check_if_done();
notification_button.clicked.connect(() => { notification_revealer.set_reveal_child(false); }); notification_button.clicked.connect(() => { notification_revealer.set_reveal_child(false); });