aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/add_conversation
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-10-09 11:38:59 +0200
committerfiaxh <git@lightrise.org>2022-10-09 11:48:58 +0200
commit9c736af765d8c62838440afbfd2ad7ee78b44951 (patch)
treea016e98038d3131e43c0b14b9b057d241c3c1ef5 /main/src/ui/add_conversation
parent7d8b08deca0aa4eb24def6b9af4ec180c0bc9a27 (diff)
downloaddino-9c736af765d8c62838440afbfd2ad7ee78b44951.tar.gz
dino-9c736af765d8c62838440afbfd2ad7ee78b44951.zip
Fix regression with channel join button not getting sensitive
fixes #1284
Diffstat (limited to 'main/src/ui/add_conversation')
-rw-r--r--main/src/ui/add_conversation/conference_details_fragment.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/ui/add_conversation/conference_details_fragment.vala b/main/src/ui/add_conversation/conference_details_fragment.vala
index 618d19ab..83d5b507 100644
--- a/main/src/ui/add_conversation/conference_details_fragment.vala
+++ b/main/src/ui/add_conversation/conference_details_fragment.vala
@@ -31,6 +31,7 @@ protected class ConferenceDetailsFragment : Box {
jid_label.label = value;
jid_entry.text = value;
jid_stack.set_visible_child_name("label");
+ check_if_done();
}
}
public string? nick {
@@ -39,6 +40,7 @@ protected class ConferenceDetailsFragment : Box {
nick_label.label = value ?? "";
nick_entry.text = value ?? "";
nick_stack.set_visible_child_name("label");
+ check_if_done();
}
}
public string? password {
@@ -116,6 +118,7 @@ protected class ConferenceDetailsFragment : Box {
nick_entry_controller.key_released.connect(() => { check_if_done(); });
nick_entry.add_controller(nick_entry_controller);
+ check_if_done();
notification_button.clicked.connect(() => { notification_revealer.set_reveal_child(false); });