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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 15 10:00:11 EDT 2008


Author: martinl
Date: 2008-04-15 10:00:11 -0400 (Tue, 15 Apr 2008)
New Revision: 31005

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI (mapdisplay) set regionCoord if extent box enabled


Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-04-15 13:16:43 UTC (rev 31004)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-04-15 14:00:11 UTC (rev 31005)
@@ -3418,6 +3418,8 @@
         self.statusText = self.toggleStatus.GetStringSelection()
         self.StatusbarUpdate()
         self.showRegion.SetValue(showCompExtent)
+        if showCompExtent:
+            self.MapWindow.regionCoords = []
         
 # end of class MapFrame
 



More information about the grass-commit mailing list