[GRASS-SVN] r53612 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 30 02:43:35 PDT 2012


Author: annakrat
Date: 2012-10-30 02:43:35 -0700 (Tue, 30 Oct 2012)
New Revision: 53612

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fix expanding in map selection widget

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2012-10-29 21:48:11 UTC (rev 53611)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2012-10-30 09:43:35 UTC (rev 53612)
@@ -520,7 +520,6 @@
             self.curitem = item
             
             if self.seltree.GetRootItem() == self.seltree.GetItemParent(item):
-                self.value = [] # cannot select mapset item
                 evt.Skip()
                 return
             
@@ -540,7 +539,7 @@
                 else:
                     self.value = [fullName]
         
-        self.Dismiss()
+            self.Dismiss()
         
         evt.Skip()
 



More information about the grass-commit mailing list