浏览代码

wxGUI: correct variable parent.Map->Map

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48033 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
62ac5ffe12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/mapdisp_window.py

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

@@ -1636,7 +1636,7 @@ class BufferedWindow(MapWindow, wx.Window):
         # if new region has been calculated, set the values
         if newreg != {}:
             # LL locations
-            if self.parent.Map.projinfo['proj'] == 'll':
+            if self.Map.projinfo['proj'] == 'll':
                 self.Map.region['n'] = min(self.Map.region['n'], 90.0)
                 self.Map.region['s'] = max(self.Map.region['s'], -90.0)