mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-14 14:22:10 +03:00
prefs: Avoid Tk event_generate() calls during shutdown
This commit is contained in:
parent
571f9665b3
commit
4bddc4c0cb
3
prefs.py
3
prefs.py
@ -1157,4 +1157,5 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
except Exception:
|
except Exception:
|
||||||
AXIsProcessTrustedWithOptions({kAXTrustedCheckOptionPrompt: True})
|
AXIsProcessTrustedWithOptions({kAXTrustedCheckOptionPrompt: True})
|
||||||
|
|
||||||
self.parent.event_generate('<<Quit>>', when="tail")
|
if not config.shutting_down():
|
||||||
|
self.parent.event_generate('<<Quit>>', when="tail")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user