[GRASS-SVN] r43901 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 14 02:51:17 EDT 2010
Author: mmetz
Date: 2010-10-13 23:51:17 -0700 (Wed, 13 Oct 2010)
New Revision: 43901
Modified:
grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
Log:
fix for Mac when no target map is selected
Modified: grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmanager.py 2010-10-14 05:38:19 UTC (rev 43900)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmanager.py 2010-10-14 06:51:17 UTC (rev 43901)
@@ -861,12 +861,13 @@
#
# show new display & draw map
#
- self.MapWindow = self.TgtMapWindow
- self.Map = self.TgtMap
- self.OnZoomToMap(None)
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)
#
# bindings
More information about the grass-commit
mailing list