mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix incorrect drag start caused by nicer cursor handling in the tag browser
This commit is contained in:
parent
0284ff6e0d
commit
d5e2b1ae4c
@ -239,6 +239,8 @@ class TagsView(QTreeView): # {{{
|
|||||||
self.setCursor(Qt.PointingHandCursor)
|
self.setCursor(Qt.PointingHandCursor)
|
||||||
else:
|
else:
|
||||||
self.unsetCursor()
|
self.unsetCursor()
|
||||||
|
if not event.buttons() & Qt.LeftButton:
|
||||||
|
return
|
||||||
if self.in_drag_drop or not dex.isValid():
|
if self.in_drag_drop or not dex.isValid():
|
||||||
QTreeView.mouseMoveEvent(self, event)
|
QTreeView.mouseMoveEvent(self, event)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user