Browse Source

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 years ago
parent
commit
782ea9472f
1 changed files with 1 additions and 1 deletions
  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')