[GRASS-SVN] r44496 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 29 16:19:56 EST 2010


Author: martinl
Date: 2010-11-29 13:19:56 -0800 (Mon, 29 Nov 2010)
New Revision: 44496

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix multiple options
(merge r44495 from devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:18:58 UTC (rev 44495)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:19:56 UTC (rev 44496)
@@ -1431,10 +1431,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