1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

Don't attempt to login to cAPI if at main menu

This commit is contained in:
Jonathan Harris 2017-12-29 00:21:12 +00:00
parent 7f4d45d6af
commit 9637735958

View File

@ -332,7 +332,7 @@ class AppWindow:
if not monitor.start(self.w):
self.status['text'] = 'Error: Check %s' % _('E:D journal file location') # Location of the new Journal file in E:D 2.2
if dologin:
if dologin and monitor.cmdr:
self.login() # Login if not already logged in with this Cmdr
# set main window labels, e.g. after language change