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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 2 04:53:34 EDT 2008


Author: martinl
Date: 2008-09-02 04:53:34 -0400 (Tue, 02 Sep 2008)
New Revision: 33208

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: re-render on close fixed

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 08:47:23 UTC (rev 33207)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-02 08:53:34 UTC (rev 33208)
@@ -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