瀏覽代碼

wxNviz: complete the fix of already closed ticket https://trac.osgeo.org/grass/ticket/1425

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47890 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 年之前
父節點
當前提交
ddb7eb9fb7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gui/wxpython/gui_modules/nviz_tools.py

+ 2 - 1
gui/wxpython/gui_modules/nviz_tools.py

@@ -2553,6 +2553,7 @@ class NvizToolWindow(FN.FlatNotebook):
             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 @@ class NvizToolWindow(FN.FlatNotebook):
         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: