1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

EDMarketConnector: call config.set_shutdown() in AppWindow.onexit()

This commit is contained in:
Athanasius 2021-01-12 15:30:51 +00:00
parent 50f9410c02
commit 2459c40c48

View File

@ -1332,6 +1332,8 @@ class AppWindow(object):
def onexit(self, event=None) -> None:
"""Application shutdown procedure."""
config.set_shutdown() # Signal we're in shutdown now.
# http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
if platform != 'darwin' or self.w.winfo_rooty() > 0:
x, y = self.w.geometry().split('+')[1:3] # e.g. '212x170+2881+1267'