Philipp Hörist pushed to branch gajim_1.3 at gajim / gajim
Commits: 4e014f3c by lovetox at 2021-02-06T21:44:50+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/4e014f3ca99d920b89b45866a5d5d770d...