Skip to content

Commit

Permalink
Disallow chapter drop on spacer area in scenes tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Oct 17, 2024
1 parent 4a85fd0 commit 8a49a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/plotlyst/view/widget/scene/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def __init__(self, parent=None, settings: Optional[TreeSettings] = None):
vbox(self._spacer)
self._spacer.setAcceptDrops(True)
self._spacer.installEventFilter(
DropEventFilter(self, [self.SCENE_MIME_TYPE, self.CHAPTER_MIME_TYPE], enteredSlot=self._dragEnteredForEnd,
DropEventFilter(self, [self.SCENE_MIME_TYPE], enteredSlot=self._dragEnteredForEnd,
leftSlot=self._dragLeftFromEnd, droppedSlot=self._drop))

self._centralWidget.setAcceptDrops(True)
Expand Down

0 comments on commit 8a49a44

Please sign in to comment.