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


Commits:
befd5b00 by wurstsalat at 2023-07-31T23:34:10+02:00
fix: Search: Don't fail while closing if no chat has been loaded before

Fixes #11588

- - - - -


1 changed file:

- gajim/gtk/chat_page.py


Changes:

=====================================
gajim/gtk/chat_page.py
=====================================
@@ -352,6 +352,7 @@ def hide_search(self) -> bool:
             self._search_revealer.set_reveal_child(False)
 
             if (self._restore_occupants_list and
+                    self._chat_control.has_active_chat() and
                     self._chat_control.contact.is_groupchat):
                 # Restore GroupchatRoster only if a group chat is selected
                 # currently. If this condition isn' satisfied, it is checked



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/befd5b00ad74b2843dd16886af430b6fa5671edd
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]

Reply via email to