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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 1 11:11:28 EDT 2011


Author: martinl
Date: 2011-09-01 08:11:28 -0700 (Thu, 01 Sep 2011)
New Revision: 48033

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
wxGUI: correct variable parent.Map->Map


Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-09-01 15:01:02 UTC (rev 48032)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-09-01 15:11:28 UTC (rev 48033)
@@ -1636,7 +1636,7 @@
         # 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)
             



More information about the grass-commit mailing list