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

fix closing last muc tab

parent fa4c570a
No related branches found
No related tags found
No related merge requests found
......@@ -198,8 +198,11 @@ def on_no(ctrl):
return
def on_minimize(ctrl):
self.on_delete_ok -= 1
ctrl.minimize()
if self.on_delete_ok == 1:
self.dont_warn_on_delete = True
win.destroy()
self.on_delete_ok -= 1
# Make sure all controls are okay with being deleted
ctrl_to_minimize = []
......
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