mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-18 02:52:42 +03:00
prefs: Avoid Tk event_generate() calls during shutdown
This commit is contained in:
1 parent
571f9665b3
commit
4bddc4c0cb
1 file changed
+2
-1
@@ -1157,4 +1157,5 @@ class PreferencesDialog(tk.Toplevel):
|
||||
except Exception:
|
||||
AXIsProcessTrustedWithOptions({kAXTrustedCheckOptionPrompt: True})
|
||||
|
||||
self.parent.event_generate('<<Quit>>', when="tail")
|
||||
if not config.shutting_down():
|
||||
self.parent.event_generate('<<Quit>>', when="tail")
|
||||
Reference in new issue
Block a user