Browse Source

wxGUI: fix dialog
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33880)


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

Martin Landa 16 years ago
parent
commit
1af9558d2d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      gui/wxpython/gui_modules/menuform.py

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

@@ -1280,7 +1280,10 @@ class cmdPanel(wx.Panel):
                 pColumn.append(p['wxId'])
         
         if pMap:
-            pMap['wxId-bind'] = [pLayer['wxId'], ] + pColumn
+            pMap['wxId-bind'] = pColumn
+            if pLayer:
+                pMap['wxId-bind'].append(pLayer['wxId'])
+        
         if pLayer:
             pLayer['wxId-bind'] = pColumn