1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

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

This commit is contained in:
Athanasius 2021-01-11 15:37:47 +00:00
parent f92385244c
commit 08f1f3e7d9

View File

@ -1059,6 +1059,8 @@ class AppWindow(object):
self.status['text'] = str(e)
def onexit(self, event=None):
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'