1
0
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:
Peter Antypas 2022-02-24 15:00:15 -08:00
parent 90f357e110
commit 998a2e05ec

View File

@ -166,6 +166,7 @@ class MainWindow(MainFrame):
self.m_BowOffsetText.SetValue('{}'.format(self.stationdata['bowoffset']))
t = self.stationdata['type']
if t in MaianaClient.VESSEL_TYPES:
i = MaianaClient.VESSEL_TYPES.index(t)
self.m_VesselTypeChoice.SetSelection(i)
return True