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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 15 01:48:52 EDT 2008


Author: martinl
Date: 2008-10-15 01:48:52 -0400 (Wed, 15 Oct 2008)
New Revision: 33882

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix dialog
(merge from devbr6, r33880)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-10-15 05:48:21 UTC (rev 33881)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-10-15 05:48:52 UTC (rev 33882)
@@ -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