[GRASS-SVN] r52430 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 20 10:53:53 PDT 2012
Author: martinl
Date: 2012-07-20 10:53:52 -0700 (Fri, 20 Jul 2012)
New Revision: 52430
Modified:
grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fix v.external.out's front-end when no option is given
Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py 2012-07-20 14:41:28 UTC (rev 52429)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py 2012-07-20 17:53:52 UTC (rev 52430)
@@ -1292,7 +1292,7 @@
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')
More information about the grass-commit
mailing list