Fix incorrect drag start caused by nicer cursor handling in the tag browser

This commit is contained in:
Kovid Goyal 2014-10-04 20:36:37 +05:30
parent 0284ff6e0d
commit d5e2b1ae4c

View File

@ -239,6 +239,8 @@ class TagsView(QTreeView): # {{{
self.setCursor(Qt.PointingHandCursor)
else:
self.unsetCursor()
if not event.buttons() & Qt.LeftButton:
return
if self.in_drag_drop or not dex.isValid():
QTreeView.mouseMoveEvent(self, event)
return