[GRASS-SVN] r54393 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 24 14:52:36 PST 2012


Author: martinl
Date: 2012-12-24 14:52:36 -0800 (Mon, 24 Dec 2012)
New Revision: 54393

Modified:
   grass/trunk/gui/wxpython/vdigit/preferences.py
Log:
wxGUI/vdigit: fix UpdateSettings (missing close boundary option)


Modified: grass/trunk/gui/wxpython/vdigit/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/preferences.py	2012-12-24 22:49:23 UTC (rev 54392)
+++ grass/trunk/gui/wxpython/vdigit/preferences.py	2012-12-24 22:52:36 UTC (rev 54393)
@@ -691,6 +691,8 @@
         
     def UpdateSettings(self):
         """!Update digitizer settings
+
+        @todo Needs refactoring 
         """
         if self.parent.GetLayerManager():
             self.parent.GetLayerManager().WorkspaceChanged() # geometry attributes
@@ -798,6 +800,10 @@
         # break lines
         UserSettings.Set(group = 'vdigit', key = "breakLines", subkey = 'enabled',
                          value = self.intersect.IsChecked())
+
+        # close boundary
+        UserSettings.Set(group = 'vdigit', key = "closeBoundary", subkey = 'enabled',
+                         value = self.closeBoundary.IsChecked())
         
         self.digit.UpdateSettings()
         



More information about the grass-commit mailing list