Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
8e0f472a by wurstsalat at 2022-11-25T18:30:44+01:00
fix: ChatFunctionPage: Don't close control on cancelling join error

Fixes #11116

- - - - -


1 changed file:

- gajim/gtk/chat_function_page.py


Changes:

=====================================
gajim/gtk/chat_function_page.py
=====================================
@@ -107,7 +107,6 @@ def __init__(self) -> None:
 
     def process_escape(self) -> None:
         close_control = self._mode in (
-            FunctionMode.JOIN_FAILED,
             FunctionMode.CREATION_FAILED,
             FunctionMode.CONFIG_FAILED,
             FunctionMode.CAPTCHA_ERROR)
@@ -342,7 +341,6 @@ def _on_cancel_clicked(self, _button: Gtk.Button) -> None:
             close_control = True
 
         elif self._mode in (
-                FunctionMode.JOIN_FAILED,
                 FunctionMode.CREATION_FAILED,
                 FunctionMode.CONFIG_FAILED,
                 FunctionMode.CAPTCHA_ERROR):



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e0f472a0d7d71ea7268901d09df4ef0c4dc7a2c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8e0f472a0d7d71ea7268901d09df4ef0c4dc7a2c
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to