Przeglądaj źródła

wxGUI: fixed doc string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47859 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 lat temu
rodzic
commit
e3b1c9033e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gui/wxpython/gui_modules/mapdisp_window.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp_window.py

@@ -85,7 +85,7 @@ class MapWindow(object):
             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