@ -408,6 +408,7 @@ class MainFrame(wx.Frame):
if self.update_thread is not None:
self.update_thread.join()
self._options_frame.save_all_options()
self.opt_manager.save_to_file()
self.Destroy()
@ -92,6 +92,8 @@ class OptionsFrame(wx.Frame):
self.Bind(wx.EVT_CLOSE, self._on_close)
self.load_all_options()
def _on_close(self, event):
"""Event handler for wx.EVT_CLOSE event.