rendered paste bodyIndex: libtovid/metagui/gui.py===================================================================--- libtovid/metagui/gui.py (revision 2439)+++ libtovid/metagui/gui.py (working copy)@@ -410,6 +410,8 @@ self.tk.call('namespace', 'import', '::tk::dialog::file::') self.tk.call('set', '::tk::dialog::file::showHiddenBtn', '1') self.tk.call('set', '::tk::dialog::file::showHiddenVar', '0')+ # handle user closing window with window manager+ self.protocol("WM_DELETE_WINDOW", lambda:self.confirm_exit(self.apps[0])) def run(self): """Run the GUI"""