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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 17 03:38:43 EST 2011


Author: mmetz
Date: 2011-01-17 00:38:42 -0800 (Mon, 17 Jan 2011)
New Revision: 45055

Modified:
   grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
Log:
make source display current display

Modified: grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmanager.py	2011-01-16 00:39:20 UTC (rev 45054)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmanager.py	2011-01-17 08:38:42 UTC (rev 45055)
@@ -861,14 +861,15 @@
         #
         # show new display & draw map
         #
-        self.MapWindow = self.SrcMapWindow
-        self.Map = self.SrcMap
-        self.OnZoomToMap(None)
         if self.show_target:
             self.MapWindow = self.TgtMapWindow
             self.Map = self.TgtMap
             self.OnZoomToMap(None)
 
+        self.MapWindow = self.SrcMapWindow
+        self.Map = self.SrcMap
+        self.OnZoomToMap(None)
+
         #
         # bindings
         #



More information about the grass-commit mailing list