[GRASS-SVN] r41306 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 5 18:17:58 EST 2010
Author: martinl
Date: 2010-03-05 18:17:58 -0500 (Fri, 05 Mar 2010)
New Revision: 41306
Modified:
grass/trunk/gui/wxpython/gui_modules/georect.py
Log:
attempt to fix #728
(merge r41305 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/georect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/georect.py 2010-03-05 23:14:43 UTC (rev 41305)
+++ grass/trunk/gui/wxpython/gui_modules/georect.py 2010-03-05 23:17:58 UTC (rev 41306)
@@ -281,7 +281,8 @@
self.SwitchEnv('original')
self.parent.georectifying = None
- if hasattr(self, "xy_mapdisp"):
+ if hasattr(self, "xy_mapdisp") and \
+ self.xy_mapdisp:
self.xy_mapdisp.Close()
self.xy_mapdisp = None
More information about the grass-commit
mailing list