Enable extended selection in edit mode
This commit is contained in:
parent
e83f0fef0f
commit
30e7d705b6
@ -400,7 +400,7 @@ class SidebarTreeView(QTreeView):
|
|||||||
drag_drop_mode = QAbstractItemView.NoDragDrop
|
drag_drop_mode = QAbstractItemView.NoDragDrop
|
||||||
edit_triggers = QAbstractItemView.EditKeyPressed
|
edit_triggers = QAbstractItemView.EditKeyPressed
|
||||||
elif tool == SidebarTool.EDIT:
|
elif tool == SidebarTool.EDIT:
|
||||||
selection_mode = QAbstractItemView.SingleSelection
|
selection_mode = QAbstractItemView.ExtendedSelection
|
||||||
drag_drop_mode = QAbstractItemView.InternalMove
|
drag_drop_mode = QAbstractItemView.InternalMove
|
||||||
edit_triggers = cast(
|
edit_triggers = cast(
|
||||||
QAbstractItemView.EditTriggers,
|
QAbstractItemView.EditTriggers,
|
||||||
|
Loading…
Reference in New Issue
Block a user