[GRASS-SVN] r41305 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 5 18:14:43 EST 2010


Author: martinl
Date: 2010-03-05 18:14:43 -0500 (Fri, 05 Mar 2010)
New Revision: 41305

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
Log:
attempt to fix #728


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2010-03-05 19:13:54 UTC (rev 41304)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2010-03-05 23:14:43 UTC (rev 41305)
@@ -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