[GRASS-SVN] r49517 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 4 14:28:35 EST 2011


Author: martinl
Date: 2011-12-04 11:28:35 -0800 (Sun, 04 Dec 2011)
New Revision: 49517

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI/vdigit: fix mirror bug when no vector map is marked for editing
	      (merge r49516 from devbr6)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2011-12-04 19:25:58 UTC (rev 49516)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2011-12-04 19:28:35 UTC (rev 49517)
@@ -569,7 +569,8 @@
         
         # deselect features in vdigit
         if self.toolbars['vdigit']:
-            self.MapWindow.digit.GetDisplay().SetSelected([])
+            if self.MapWindow.digit:
+                self.MapWindow.digit.GetDisplay().SetSelected([])
             self.MapWindow.UpdateMap(render = True, renderVector = True)
         else:
             self.MapWindow.UpdateMap(render = True)



More information about the grass-commit mailing list