Browse Source

wxGUI: fix multiple options
(merge https://trac.osgeo.org/grass/changeset/44495 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44496 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 14 năm trước cách đây
mục cha
commit
38441bcf01
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      gui/wxpython/gui_modules/menuform.py

+ 1 - 4
gui/wxpython/gui_modules/menuform.py

@@ -1431,10 +1431,7 @@ class cmdPanel(wx.Panel):
                                               '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: