Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
a3754216
by Daniel Brötzmann at 2019-06-24T20:12:08Z
1 changed file:
Changes:
| ... | ... | @@ -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 |
|