Browse Source

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 years ago
parent
commit
62ac5ffe12
1 changed files with 1 additions and 1 deletions
  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)