[GRASS-SVN] r58605 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 4 08:45:23 PST 2014


Author: martinl
Date: 2014-01-04 08:45:22 -0800 (Sat, 04 Jan 2014)
New Revision: 58605

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
Log:
wxGUI: fix OnSetLabel() for actions

Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2014-01-04 16:40:37 UTC (rev 58604)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2014-01-04 16:45:22 UTC (rev 58605)
@@ -1039,6 +1039,8 @@
         
         idx = self.GetId()
         self.regionLabel.SetText('(%d) %s' % (idx, label))
+        self.SetRegionSizes()
+        self.ReformatRegions()
 
     def SetComment(self, comment):
         """!Set comment"""



More information about the grass-commit mailing list