فهرست منبع

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 سال پیش
والد
کامیت
573bca1792
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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):