mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-31 23:00:16 -07:00
Another GUI bugfix
This commit is contained in:
parent
90f357e110
commit
998a2e05ec
@ -166,8 +166,9 @@ class MainWindow(MainFrame):
|
|||||||
self.m_BowOffsetText.SetValue('{}'.format(self.stationdata['bowoffset']))
|
self.m_BowOffsetText.SetValue('{}'.format(self.stationdata['bowoffset']))
|
||||||
|
|
||||||
t = self.stationdata['type']
|
t = self.stationdata['type']
|
||||||
i = MaianaClient.VESSEL_TYPES.index(t)
|
if t in MaianaClient.VESSEL_TYPES:
|
||||||
self.m_VesselTypeChoice.SetSelection(i)
|
i = MaianaClient.VESSEL_TYPES.index(t)
|
||||||
|
self.m_VesselTypeChoice.SetSelection(i)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def validateStationInputs(self):
|
def validateStationInputs(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user