Browse Source

wxGUI/vdigit: no attribute dialog when area is not closed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58444 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 năm trước cách đây
mục cha
commit
573bca1792
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      gui/wxpython/vdigit/wxdigit.py

+ 4 - 0
gui/wxpython/vdigit/wxdigit.py

@@ -1822,6 +1822,10 @@ class IVDigit:
 
         self._addChangeset()
         
+        if ftype & GV_AREA:
+            # len(fids) == 1 -> no new area
+            return (len(fids)-1, fids)
+        
         return (len(fids), fids)
     
     def _ModifyLineVertex(self, coords, add = True):