Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
a782329f by wurstsalat at 2022-09-25T00:08:03+02:00
fix: CreateGroupchatWindow: Fix Create button state when switching MUC type
Fixes #11162
- - - - -
1 changed file:
- gajim/gtk/groupchat_creation.py
Changes:
=====================================
gajim/gtk/groupchat_creation.py
=====================================
@@ -231,6 +231,10 @@ def _update_entry_completion(self, entry: Gtk.Entry, text:
str) -> None:
def _on_public_private_toggled(self, _radiobutton: Gtk.RadioButton) ->
None:
is_public = self._ui.public_radio.get_active()
+ if is_public:
+ self._validate_jid(self._ui.address_entry.get_text())
+ else:
+ self._ui.create_button.set_sensitive(True)
self._ui.address_label.set_visible(is_public)
self._ui.address_entry.set_visible(is_public)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a782329f5d4beaa93b97896eb77865dbe0adbde0
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/a782329f5d4beaa93b97896eb77865dbe0adbde0
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits