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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 2 05:03:51 EDT 2008


Author: martinl
Date: 2008-09-02 05:03:51 -0400 (Tue, 02 Sep 2008)
New Revision: 33210

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: re-render on close fixed
(merge from devbr6, r33208)


Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 09:03:04 UTC (rev 33209)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 09:03:51 UTC (rev 33210)
@@ -2845,7 +2845,7 @@
             self.Map.DeleteLayer(layer)
 
         # deselect features in vdigit
-        if self.toolbars['vdigit']:
+        if self.toolbars['vdigit'] and self.digit:
             self.digit.driver.SetSelected([])
             self.MapWindow.UpdateMap(render=True, renderVector=True)
         else:



More information about the grass-commit mailing list