Skip to content

Commit

Permalink
wxGUI Set vector output format: fix load profile settings (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Mar 24, 2020
1 parent 3f50c6f commit cd37b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/gselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ def OnSettingsChanged(self, data):
# data list: [type, dsn, format, options]
if len(data) == 3:
data.append('')
elif len < 3:
elif len(data) < 3:
return

self.source.SetSelection(self.sourceMap[data[0]])
Expand Down

0 comments on commit cd37b9b

Please sign in to comment.