[GRASS-SVN] r64667 - grass/trunk/gui/wxpython/iclass
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 17 13:01:42 PST 2015
Author: annakrat
Date: 2015-02-17 13:01:42 -0800 (Tue, 17 Feb 2015)
New Revision: 64667
Modified:
grass/trunk/gui/wxpython/iclass/frame.py
Log:
wxGUI/iclass: fix iclass launching, broken in r63534
Modified: grass/trunk/gui/wxpython/iclass/frame.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/frame.py 2015-02-17 20:48:00 UTC (rev 64666)
+++ grass/trunk/gui/wxpython/iclass/frame.py 2015-02-17 21:01:42 UTC (rev 64667)
@@ -431,7 +431,7 @@
def GetMapToolbar(self):
"""Returns toolbar with zooming tools"""
- return self.toolbars['iClassMap']
+ return self.toolbars['iClassMap'] if 'iClassMap' in self.toolbars else None
def GetClassColor(self, cat):
"""Get class color as string
More information about the grass-commit
mailing list