[GRASS-SVN] r32886 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 19 07:27:42 EDT 2008
Author: martinl
Date: 2008-08-19 07:27:42 -0400 (Tue, 19 Aug 2008)
New Revision: 32886
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py
Log:
wxGUI/vdigit: error handling cosmetics
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py 2008-08-19 11:09:16 UTC (rev 32885)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/vdigit.py 2008-08-19 11:27:42 UTC (rev 32886)
@@ -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