Enable extended selection in edit mode

This commit is contained in:
RumovZ 2021-03-01 08:45:03 +01:00
parent e83f0fef0f
commit 30e7d705b6

View File

@ -400,7 +400,7 @@ class SidebarTreeView(QTreeView):
drag_drop_mode = QAbstractItemView.NoDragDrop
edit_triggers = QAbstractItemView.EditKeyPressed
elif tool == SidebarTool.EDIT:
selection_mode = QAbstractItemView.SingleSelection
selection_mode = QAbstractItemView.ExtendedSelection
drag_drop_mode = QAbstractItemView.InternalMove
edit_triggers = cast(
QAbstractItemView.EditTriggers,