Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
e257a81b by wurstsalat at 2021-10-31T01:15:40+02:00
ChatStack: Reset active control when removing it
- - - - -
1 changed file:
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -91,6 +91,8 @@ def add_private_chat(self, account, jid):
def remove_chat(self, account, jid):
control = self._controls.pop((account, jid))
+ if control == self._active_control:
+ self._active_control = None
self.remove(control.widget)
control.shutdown()
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e257a81ba8530d5612090b6fcaa4dc48a5a4df20
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e257a81ba8530d5612090b6fcaa4dc48a5a4df20
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