浏览代码

wxGUI: fix OnSetLabel() for actions

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58605 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
b8f0010e4d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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"""