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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 6 07:09:31 EDT 2008


Author: martinl
Date: 2008-07-06 07:09:31 -0400 (Sun, 06 Jul 2008)
New Revision: 32018

Modified:
   grass/trunk/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: fix gselect (OnDeleteItem), related to r32004

Modified: grass/trunk/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gselect.py	2008-07-06 10:28:09 UTC (rev 32017)
+++ grass/trunk/gui/wxpython/gui_modules/gselect.py	2008-07-06 11:09:31 UTC (rev 32018)
@@ -74,6 +74,7 @@
         self.seltree.Bind(wx.EVT_TREE_ITEM_COLLAPSED, self.mapsetCollapsed)
         self.seltree.Bind(wx.EVT_TREE_ITEM_ACTIVATED, self.mapsetActivated)
         self.seltree.Bind(wx.EVT_TREE_SEL_CHANGED, self.mapsetSelected)
+        self.seltree.Bind(wx.EVT_TREE_DELETE_ITEM, lambda x: None)
 
     # the following dummy handler are needed to keep tree events from propagating up to
     # the parent GIS Manager layer tree



More information about the grass-commit mailing list