[GRASS-SVN] r35622 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 25 14:55:58 EST 2009
Author: martinl
Date: 2009-01-25 14:55:58 -0500 (Sun, 25 Jan 2009)
New Revision: 35622
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_tools.py
Log:
wxNviz: avoid focusing map display when notebook page is changed
(merge from trunk, r35621)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_tools.py 2009-01-25 19:53:29 UTC (rev 35621)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_tools.py 2009-01-25 19:55:58 UTC (rev 35622)
@@ -7,7 +7,7 @@
- NvizToolWindow
- ViewPositionWindow
-(C) 2008 by the GRASS Development Team
+(C) 2008-2009 by the GRASS Development Team
This program is free software under the GNU General Public
License (>=v2). Read the file COPYING that comes with GRASS
@@ -91,7 +91,9 @@
# bindings
#
self.Bind(wx.EVT_CLOSE, self.OnClose)
-
+ # avoid focusing map display window
+ self.notebook.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, lambda x: None)
+
#
# layout
#
More information about the grass-commit
mailing list