Parcourir la source

wxGUI: fix OnSetLabel() for actions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58605 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa il y a 11 ans
Parent
commit
b8f0010e4d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      gui/wxpython/gmodeler/model.py

+ 2 - 0
gui/wxpython/gmodeler/model.py

@@ -1039,6 +1039,8 @@ class ModelAction(ModelObject, ogl.DividedShape):
         
         
         idx = self.GetId()
         idx = self.GetId()
         self.regionLabel.SetText('(%d) %s' % (idx, label))
         self.regionLabel.SetText('(%d) %s' % (idx, label))
+        self.SetRegionSizes()
+        self.ReformatRegions()
 
 
     def SetComment(self, comment):
     def SetComment(self, comment):
         """!Set comment"""
         """!Set comment"""