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 years ago
parent
commit
573bca1792
1 changed files with 4 additions and 0 deletions
  1. 4 0
      gui/wxpython/vdigit/wxdigit.py

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

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