Ver código fonte

wxGUI: fix OnSetLabel() for actions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58605 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 anos atrás
pai
commit
b8f0010e4d
1 arquivos alterados com 2 adições e 0 exclusões
  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()
         self.regionLabel.SetText('(%d) %s' % (idx, label))
+        self.SetRegionSizes()
+        self.ReformatRegions()
 
     def SetComment(self, comment):
         """!Set comment"""