[GRASS-SVN] r61590 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 12 13:04:55 PDT 2014
Author: wenzeslaus
Date: 2014-08-12 13:04:55 -0700 (Tue, 12 Aug 2014)
New Revision: 61590
Modified:
grass/trunk/gui/wxpython/mapdisp/toolbars.py
Log:
wxGUI/mapdisp: disable zoom to region in 3D mode (button introduced in r58445)
This does not fix the problem when these buttons are not enabled when switching from 3D view to Digitize
Modified: grass/trunk/gui/wxpython/mapdisp/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/toolbars.py 2014-08-12 18:54:46 UTC (rev 61589)
+++ grass/trunk/gui/wxpython/mapdisp/toolbars.py 2014-08-12 20:04:55 UTC (rev 61590)
@@ -264,7 +264,8 @@
def Enable2D(self, enabled):
"""Enable/Disable 2D display mode specific tools"""
- for tool in (self.zoomMenu,
+ for tool in (self.zoomRegion,
+ self.zoomMenu,
self.analyze,
self.printMap):
self.EnableTool(tool, enabled)
More information about the grass-commit
mailing list