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

Blank Cmdr name when E:D is at main menu

Fixes error introduced in da2e24f
This commit is contained in:
Jonathan Harris 2017-06-24 15:34:54 +01:00
parent 5797af8861
commit 02109d33f9

View File

@ -637,6 +637,7 @@ class AppWindow:
self.ship.configure(text = monitor.state['ShipName'] or companion.ship_map.get(monitor.state['ShipType'], monitor.state['ShipType']) or '',
url = self.shipyard_url)
else:
self.cmdr['text'] = ''
self.ship_label['text'] = _('Ship') + ':' # Main window
self.ship['text'] = ''