[GRASS-SVN] r47890 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 26 08:04:55 EDT 2011


Author: annakrat
Date: 2011-08-26 05:04:55 -0700 (Fri, 26 Aug 2011)
New Revision: 47890

Modified:
   grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
Log:
wxNviz: complete the fix of already closed ticket #1425

Modified: grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-08-26 10:47:13 UTC (rev 47889)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-08-26 12:04:55 UTC (rev 47890)
@@ -2553,6 +2553,7 @@
             self.mapWindow.Refresh(False)
         else: # here
             if self.FindWindowById(event.GetId()).GetValue():
+                self.mapDisplay.Raise()
                 self.mapWindow.mouse['use'] = 'lookHere'
                 self.mapWindow.SetCursor(self.mapWindow.cursors["cross"])
             else:
@@ -4014,7 +4015,7 @@
         else: return
         
         if event.GetInt():
-            self.mapWindow.parent.Raise()
+            self.mapDisplay.Raise()
             self.mapWindow.mouse['use'] = type
             self.mapWindow.SetCursor(self.mapWindow.cursors["cross"])
         else:



More information about the grass-commit mailing list