Skip to content
Snippets Groups Projects
Commit 2e9054d9 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

minimize groupchats before closing message window

parent a519b22f
No related branches found
No related tags found
No related merge requests found
......@@ -216,6 +216,9 @@ class MessageWindow(object):
win.destroy()
if not gajim.config.get('confirm_close_multiple_tabs'):
for ctrl in self.controls():
if ctrl.minimizable():
ctrl.minimize()
# destroy window
return False
dialogs.YesNoDialog(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment