Commit a3754216 authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

GroupchatControl: Remove correcting state when minimizing

Minimizing a GroupChatControl should remove the self.correcting state to
avoid being in this state when restoring. Fixes #9580
parent e91ba351
......@@ -2197,6 +2197,14 @@ def minimize(self, status='offline'):
ctrl.parent_win = None
# Stop correcting message when we minimize
if self.correcting:
self.correcting = False
self.msg_textview, 'gajim-msg-correcting')
con = app.connections[self.account]
con.get_module('Chatstate').set_chatstate(, Chatstate.INACTIVE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment