[GRASS-SVN] r54482 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 1 12:21:09 PST 2013


Author: martinl
Date: 2013-01-01 12:21:08 -0800 (Tue, 01 Jan 2013)
New Revision: 54482

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
fix r54481


Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2013-01-01 20:14:55 UTC (rev 54481)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2013-01-01 20:21:08 UTC (rev 54482)
@@ -1544,6 +1544,7 @@
         pColumn = []
         pGroup = None
         pSubGroup = None
+        pSigFile = None
         pDbase = None
         pLocation = None
         pMapset = None
@@ -1619,9 +1620,10 @@
         
         if pGroup and pSubGroup:
             if pSigFile:
-                pGroup['wxId-bind'] = copy.copy(pSigFile['wxId'])
+                pGroup['wxId-bind'] = copy.copy(pSigFile['wxId']) + pSubGroup['wxId']
                 pSubGroup['wxId-bind'] = pSigFile['wxId']
-            pGroup['wxId-bind'] += pSubGroup['wxId']
+            else:
+                pGroup['wxId-bind'] = pSubGroup['wxId']
         
         if pDbase and pLocation:
             pDbase['wxId-bind'] = pLocation['wxId']



More information about the grass-commit mailing list