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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 22 11:52:34 EDT 2012


Author: cmbarton
Date: 2012-03-22 08:52:34 -0700 (Thu, 22 Mar 2012)
New Revision: 51146

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
Fix bug in selecting maps for output.

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2012-03-22 13:39:19 UTC (rev 51145)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2012-03-22 15:52:34 UTC (rev 51146)
@@ -247,16 +247,11 @@
         root = self.seltree.GetRootItem()
         if not root:
             return
-        found = self.FindItem(root, value)
         winValue = self.GetCombo().GetValue().strip(',')
         self.value = []
         if winValue:
             self.value = winValue.split(',')
         
-        if found:
-            self.value.append(found)
-            self.seltree.SelectItem(found)
-        
     def GetAdjustedSize(self, minWidth, prefHeight, maxHeight):
         """!Reads UserSettings to get height (which was 200 in old implementation).
         """



More information about the grass-commit mailing list