Преглед изворни кода

wxGUI: fix v.external.out's front-end when no option is given

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52430 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 12 година
родитељ
комит
782ea9472f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      gui/wxpython/gui_core/gselect.py

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

@@ -1292,7 +1292,7 @@ class GdalSelect(wx.Panel):
             if current['format'] != 'native':
                 self.OnSetFormat(event = None, format = current['format'])
                 self.OnSetDsn(event = None, path = current['dsn'])
-                self.creationOpt.SetValue(current['options'])
+                self.creationOpt.SetValue(current.get('options', ''))
         else:
             if not ogr:
                 self.OnSetFormat(event = None, format = 'GeoTIFF')