浏览代码

Fix bug in selecting maps for output.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51146 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 13 年之前
父节点
当前提交
49423f7323
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      gui/wxpython/gui_core/gselect.py

+ 0 - 5
gui/wxpython/gui_core/gselect.py

@@ -247,16 +247,11 @@ class TreeCtrlComboPopup(wx.combo.ComboPopup):
         root = self.seltree.GetRootItem()
         root = self.seltree.GetRootItem()
         if not root:
         if not root:
             return
             return
-        found = self.FindItem(root, value)
         winValue = self.GetCombo().GetValue().strip(',')
         winValue = self.GetCombo().GetValue().strip(',')
         self.value = []
         self.value = []
         if winValue:
         if winValue:
             self.value = winValue.split(',')
             self.value = winValue.split(',')
         
         
-        if found:
-            self.value.append(found)
-            self.seltree.SelectItem(found)
-        
     def GetAdjustedSize(self, minWidth, prefHeight, maxHeight):
     def GetAdjustedSize(self, minWidth, prefHeight, maxHeight):
         """!Reads UserSettings to get height (which was 200 in old implementation).
         """!Reads UserSettings to get height (which was 200 in old implementation).
         """
         """