1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

Fix selecting auto flight log.

Fixes #38 (really).
This commit is contained in:
Jonathan Harris 2015-11-08 20:25:55 +00:00
parent 756a31f8da
commit 4a338b99ac

View File

@ -335,7 +335,7 @@ class PreferencesDialog(tk.Toplevel):
hotkeymgr.register(self.parent, config.getint('hotkey_code'), config.getint('hotkey_mods'))
if (config.getint('output') & config.OUT_LOG_AUTO) and (config.getint('output') & (config.OUT_LOG_AUTO|config.OUT_LOG_EDSM)):
monitor.enable_logging()
monitor.start()
monitor.start(self.parent)
else:
monitor.stop()
self.destroy()