Explorar o código

wxGUI Set vector output format: fix load profile settings (#451)

Tomas Zigo %!s(int64=5) %!d(string=hai) anos
pai
achega
e358f4ca0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_core/gselect.py

+ 1 - 1
gui/wxpython/gui_core/gselect.py

@@ -1893,7 +1893,7 @@ class GdalSelect(wx.Panel):
         # 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]])