Philipp Hörist pushed to branch master at gajim / gajim
Commits:
025a0aee by mesonium at 2025-03-08T15:06:23+01:00
fix: StartChatDialog: Do not crash, when dialog closes after starting new chat
Fixes #12213
- - - - -
1 changed file:
- gajim/gtk/start_chat.py
Changes:
=====================================
gajim/gtk/start_chat.py
=====================================
@@ -847,6 +847,8 @@ def __init__(self) -> None:
self.set_model(self._selection_model)
def do_unroot(self) -> None:
+ # The filter func needs to be unset before calling do_unroot (see
#12213)
+ self._custom_filter.set_filter_func(None)
Gtk.ListView.do_unroot(self)
self._disconnect_all()
app.check_finalize(self._model)
@@ -858,7 +860,6 @@ def do_unroot(self) -> None:
del self._filter_model
del self._sort_model
del self._selection_model
- self._custom_filter.set_filter_func(None)
del self._custom_filter
app.check_finalize(self)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/025a0aee65a52b779887153fa4d07aa4cab1df90
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/025a0aee65a52b779887153fa4d07aa4cab1df90
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]