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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 15 01:35:22 EDT 2008


Author: martinl
Date: 2008-10-15 01:35:22 -0400 (Wed, 15 Oct 2008)
New Revision: 33880

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


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-10-14 18:10:45 UTC (rev 33879)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-10-15 05:35:22 UTC (rev 33880)
@@ -1280,7 +1280,10 @@
                 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
         



More information about the grass-commit mailing list