[GRASS-SVN] r44497 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 29 16:21:01 EST 2010


Author: martinl
Date: 2010-11-29 13:21:01 -0800 (Mon, 29 Nov 2010)
New Revision: 44497

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:19:56 UTC (rev 44496)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-29 21:21:01 UTC (rev 44497)
@@ -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