[GRASS-SVN] r38034 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 23 07:43:59 EDT 2009
Author: martinl
Date: 2009-06-23 07:43:58 -0400 (Tue, 23 Jun 2009)
New Revision: 38034
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: fix 'go to'
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2009-06-23 08:10:52 UTC (rev 38033)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2009-06-23 11:43:58 UTC (rev 38034)
@@ -767,8 +767,8 @@
e, n = map(float, self.goTo.GetValue().split(','))
except ValueError:
region = self.Map.GetCurrentRegion()
- self.goTo.SetValue("%.2f, %.2f" % (region['center_northing'],
- region['center_easting']))
+ self.goTo.SetValue("%.2f, %.2f" % (region['center_easting'],
+ region['center_northing']))
return
region = self.Map.GetCurrentRegion()
@@ -892,8 +892,8 @@
elif self.toggleStatus.GetSelection() == 7: # go to
self.statusbar.SetStatusText("")
region = self.Map.GetCurrentRegion()
- self.goTo.SetValue("%.2f, %.2f" % (region['center_northing'],
- region['center_easting']))
+ self.goTo.SetValue("%.2f, %.2f" % (region['center_easting'],
+ region['center_northing']))
self.goTo.Show()
# disable long help
More information about the grass-commit
mailing list