Philipp Hörist pushed to branch master at gajim / gajim
Commits: d6e3a890 by lovetox at 2021-02-06T21:34:06+01:00 ChatControlBase: Fix race condition when closing with ESC
Fixes #10421
- - - - -
1 changed file:
- gajim/chat_control_base.py
Changes:
===================================== gajim/chat_control_base.py ===================================== @@ -1052,8 +1052,9 @@ def _on_window_motion_notify(self, *args):
def _on_message_tv_buffer_changed(self, textview, textbuffer): has_text = self.msg_textview.has_text() - self.parent_win.window.lookup_action( - 'send-message-' + self.control_id).set_enabled(has_text) + if self.parent_win is not None: + self.parent_win.window.lookup_action( + 'send-message-' + self.control_id).set_enabled(has_text)
if textbuffer.get_char_count() and self.encryption: app.plugin_manager.extension_point(
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/d6e3a8904a9aba1e2bee6e6a69d6a4731...