浏览代码

wxGUI/vdigit: minor fix for OGR

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48306 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
53a4bcf917
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/toolbars.py

+ 1 - 1
gui/wxpython/gui_modules/toolbars.py

@@ -1102,7 +1102,7 @@ class VDigitToolbar(AbstractToolbar):
                          self.addArea):
                 self.EnableTool(tool, False)
         elif fType == 'Polygon':
-            for tool in (self.addPoint, self.addLine):
+            for tool in (self.addPoint, self.addLine, self.addBoundary, self.addCentroid):
                 self.EnableTool(tool, False)
         elif fType:
             GError(parent = self,