From bfd0b5fe7928559920c215115f70b5e73c197181 Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 22 Dec 2024 23:38:19 -0800 Subject: [PATCH] allow multi-select --- cockatrice/src/client/tabs/tab_deck_storage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/client/tabs/tab_deck_storage.cpp b/cockatrice/src/client/tabs/tab_deck_storage.cpp index 8ab91e2be..92452699f 100644 --- a/cockatrice/src/client/tabs/tab_deck_storage.cpp +++ b/cockatrice/src/client/tabs/tab_deck_storage.cpp @@ -41,6 +41,7 @@ TabDeckStorage::TabDeckStorage(TabSupervisor *_tabSupervisor, AbstractClient *_c localDirView->setColumnHidden(1, true); localDirView->setRootIndex(localDirModel->index(localDirModel->rootPath(), 0)); localDirView->setSortingEnabled(true); + localDirView->setSelectionMode(QAbstractItemView::ExtendedSelection); localDirView->header()->setSectionResizeMode(QHeaderView::ResizeToContents); localDirView->header()->setSortIndicator(0, Qt::AscendingOrder);