Browse Source

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 năm trước cách đây
mục cha
commit
26479e16a1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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