Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/groupchat_control.py
    ... ... @@ -2197,6 +2197,14 @@ class GroupchatControl(ChatControlBase):
    2197 2197
             win.notebook.remove_page(ctrl_page)
    
    2198 2198
             control.unparent()
    
    2199 2199
             ctrl.parent_win = None
    
    2200
    +
    
    2201
    +        # Stop correcting message when we minimize
    
    2202
    +        if self.correcting:
    
    2203
    +            self.correcting = False
    
    2204
    +            gtkgui_helpers.remove_css_class(
    
    2205
    +                self.msg_textview, 'gajim-msg-correcting')
    
    2206
    +            self.msg_textview.get_buffer().set_text('')
    
    2207
    +
    
    2200 2208
             con = app.connections[self.account]
    
    2201 2209
             con.get_module('Chatstate').set_chatstate(self.contact, Chatstate.INACTIVE)
    
    2202 2210