[GRASS-SVN] r32887 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 19 07:29:03 EDT 2008


Author: martinl
Date: 2008-08-19 07:29:03 -0400 (Tue, 19 Aug 2008)
New Revision: 32887

Modified:
   grass/trunk/gui/wxpython/gui_modules/vdigit.py
Log:
wxGUI/vdigit: error handling cosmetics (merge from devbr6, r32886)


Modified: grass/trunk/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/vdigit.py	2008-08-19 11:27:42 UTC (rev 32886)
+++ grass/trunk/gui/wxpython/gui_modules/vdigit.py	2008-08-19 11:29:03 UTC (rev 32887)
@@ -1208,8 +1208,9 @@
 
     def UpdateSettings(self):
         """Update digit settigs"""
-        self.digit.UpdateSettings(UserSettings.Get(group='vdigit', key='breakLines',
-                                                   subkey='enabled'))
+        if self.digit:
+            self.digit.UpdateSettings(UserSettings.Get(group='vdigit', key='breakLines',
+                                                       subkey='enabled'))
         
     def __getSnapThreshold(self):
         """Get snap mode and threshold value



More information about the grass-commit mailing list