fix stuck forbidden cursor after drag-and-drop
This commit is contained in:
parent
27c53cb237
commit
15870daae5
@ -296,6 +296,7 @@ class ThumbnailWidget(QWidget):
|
|||||||
drag.setPixmap(self._pixmap.scaled(64, 64, Qt.AspectRatioMode.KeepAspectRatio))
|
drag.setPixmap(self._pixmap.scaled(64, 64, Qt.AspectRatioMode.KeepAspectRatio))
|
||||||
drag.exec(Qt.DropAction.CopyAction)
|
drag.exec(Qt.DropAction.CopyAction)
|
||||||
self._drag_start = None
|
self._drag_start = None
|
||||||
|
self.setCursor(Qt.CursorShape.PointingHandCursor)
|
||||||
return
|
return
|
||||||
super().mouseMoveEvent(event)
|
super().mouseMoveEvent(event)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user