mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-31 23:29:10 +00:00
fix: drag and drop no longer resets (#710)
This commit is contained in:
@@ -441,7 +441,9 @@ class ItemThumb(FlowWidget):
|
||||
if clickable:
|
||||
with catch_warnings(record=True):
|
||||
self.thumb_button.pressed.disconnect()
|
||||
self.thumb_button.pressed.connect(clickable)
|
||||
self.thumb_button.pressed.connect(
|
||||
lambda: clickable() if not self.thumb_button.selected else None
|
||||
)
|
||||
|
||||
def set_item_id(self, item_id: int):
|
||||
self.item_id = item_id
|
||||
|
||||
Reference in New Issue
Block a user