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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 6 07:10:35 EDT 2008


Author: martinl
Date: 2008-07-06 07:10:35 -0400 (Sun, 06 Jul 2008)
New Revision: 32019

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: fix gselect (OnDeleteItem) [merged from trunk, r32018]

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2008-07-06 11:09:31 UTC (rev 32018)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2008-07-06 11:10:35 UTC (rev 32019)
@@ -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