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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 23 17:05:53 EDT 2011


Author: annakrat
Date: 2011-08-23 14:05:53 -0700 (Tue, 23 Aug 2011)
New Revision: 47859

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: fixed doc string

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-08-23 20:56:12 UTC (rev 47858)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-08-23 21:05:53 UTC (rev 47859)
@@ -85,7 +85,7 @@
             self.mapwin = self.parent.GetLayerTree().GetMapDisplay().GetWindow()
             if self.mapwin.RegisterMouseEventHandler(wx.EVT_LEFT_DOWN, self.OnMouseAction,
                                                      wx.StockCursor(wx.CURSOR_CROSS)):
-                self.mapwin.Raise()
+                self.parent.GetLayerTree().GetMapDisplay().Raise()
             else:
                 # handle that you cannot get coordinates
         



More information about the grass-commit mailing list