[GRASS-SVN] r44714 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 24 12:53:34 EST 2010
Author: cmbarton
Date: 2010-12-24 09:53:34 -0800 (Fri, 24 Dec 2010)
New Revision: 44714
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
Log:
Fixes bug that leaves 3D controls in layer manager when 3D display closed. Backported from trunk r44506
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py 2010-12-24 16:51:38 UTC (rev 44713)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py 2010-12-24 17:53:34 UTC (rev 44714)
@@ -1623,6 +1623,9 @@
self.parent.MapWindow.mouse['box'] = "point"
self.parent.MapWindow.polycoords = []
+ # return to map layer page (gets rid of ugly exit bug)
+ self.lmgr.notebook.SetSelection(0)
+
# disable the toolbar
self.parent.RemoveToolbar("nviz")
More information about the grass-commit
mailing list