Skip to content

Commit

Permalink
wxGUI preferences: fix load epsg codes (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Apr 23, 2020
1 parent 1fbfd5f commit 12ad523
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/wxpython/gui_core/preferences.py
Expand Up @@ -981,7 +981,7 @@ def _createDisplayPage(self, notebook):

gridSizer.Add(showCompExtent,
pos=(row, 0), span=(1, 2))

#
# mouse wheel zoom
#
Expand Down Expand Up @@ -1418,7 +1418,7 @@ def _createLayersPage(self, notebook):
hlWidth, pos=(row, col + 1),
span=(1, 2),
flag=wx.ALIGN_RIGHT)

# random colors
row +=1
randomColors = wx.CheckBox(parent=panel, id=wx.ID_ANY, label=_(
Expand Down Expand Up @@ -1926,7 +1926,7 @@ def OnLoadEpsgCodes(self, event):
wx.EndBusyCursor()
return

choices = map(str, sorted(self.epsgCodeDict.keys()))
choices = list(map(str, sorted(self.epsgCodeDict.keys())))

epsgCombo.SetItems(choices)
wx.EndBusyCursor()
Expand Down

0 comments on commit 12ad523

Please sign in to comment.