[GRASS-SVN] r44495 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 29 16:18:58 EST 2010


Author: martinl
Date: 2010-11-29 13:18:58 -0800 (Mon, 29 Nov 2010)
New Revision: 44495

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix multiple options


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:11:42 UTC (rev 44494)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:18:58 UTC (rev 44495)
@@ -1379,10 +1379,7 @@
                                               'mapset',
                                               'dbase') and \
                        p.get('element', '') != 'file':
-                    if p.get('multiple', 'no') == 'yes':
-                        multiple = True
-                    else:
-                        multiple = False
+                    multiple = p.get('multiple', False)
                     if p.get('age', '') == 'new':
                         mapsets = [grass.gisenv()['MAPSET'],]
                     else:



More information about the grass-commit mailing list