浏览代码

wxGUI: fix https://trac.osgeo.org/grass/ticket/1987

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56571 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 年之前
父节点
当前提交
26479e16a1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/gui_core/gselect.py

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

@@ -179,6 +179,7 @@ class ListCtrlComboPopup(wx.combo.ComboPopup):
         self.seltree.Bind(wx.EVT_TREE_ITEM_ACTIVATED, self.OnActivated)
         self.seltree.Bind(wx.EVT_TREE_SEL_CHANGED, self.OnSelected)
         self.seltree.Bind(wx.EVT_TREE_DELETE_ITEM, lambda x: None)
+        self.seltree.Bind(wx.EVT_TREE_BEGIN_DRAG, lambda x: None)
         
     # the following dummy handler are needed to keep tree events from propagating up to
     # the parent GIS Manager layer tree