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


Commits:
08b10794 by wurstsalat at 2024-07-28T12:43:43+02:00
fix: AccountWizard: Avoid crash on destroy by moving attribute declaration to 
top

Fixes #11927

- - - - -


1 changed file:

- gajim/gtk/account_wizard.py


Changes:

=====================================
gajim/gtk/account_wizard.py
=====================================
@@ -64,7 +64,8 @@
 class AccountWizard(Assistant):
     def __init__(self) -> None:
         Assistant.__init__(self, height=500)
-
+        self._client: Client | None = None
+        self._method: str = 'login'
         self._destroyed: bool = False
 
         self.add_button('signup', _('Sign Up'), complete=True,
@@ -96,9 +97,6 @@ def __init__(self) -> None:
 
         self.update_proxy_list()
 
-        self._client: Client | None = None
-        self._method: str = 'login'
-
     @overload
     def get_page(self, name: Literal['login']) -> Login:
         ...



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/08b10794420eb2f6ae56b0bbfaa832d1f0bf7063

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


_______________________________________________
Commits mailing list -- commits@gajim.org
To unsubscribe send an email to commits-le...@gajim.org

Reply via email to