From 30e7d705b64a332de86c6838544cadb5c16fe1f2 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Mon, 1 Mar 2021 08:45:03 +0100 Subject: [PATCH] Enable extended selection in edit mode --- qt/aqt/sidebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/sidebar.py b/qt/aqt/sidebar.py index d39cb057d..247ce2730 100644 --- a/qt/aqt/sidebar.py +++ b/qt/aqt/sidebar.py @@ -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,