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:
parent
7f4d45d6af
commit
9637735958
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user