[GRASS-SVN] r52577 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 7 06:33:17 PDT 2012


Author: annakrat
Date: 2012-08-07 06:33:16 -0700 (Tue, 07 Aug 2012)
New Revision: 52577

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI/lmgr: attempt to fix tree selection

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2012-08-07 13:00:01 UTC (rev 52576)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2012-08-07 13:33:16 UTC (rev 52577)
@@ -1133,7 +1133,7 @@
                     # ignore when map layer is edited
                     self.Map.ChangeLayerActive(mapLayer, checked)
         
-        self.Unselect()
+        self.SelectItem(item, False)
         
         # update progress bar range (mapwindow statusbar)
         self.mapdisplay.GetProgressBar().SetRange(len(self.Map.GetListOfLayers(l_active = True)))



More information about the grass-commit mailing list