Best effort sort for now.

This commit is contained in:
Lukas Brübach 2025-05-10 11:34:51 +02:00
parent 2553a22c5a
commit 6bbcb86db2

View file

@ -113,6 +113,7 @@ void DeckEditorDeckDockWidget::createDeckDock()
connect(activeGroupCriteriaComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), [this]() {
deckModel->setActiveGroupCriteria(
static_cast<DeckListModelGroupCriteria>(activeGroupCriteriaComboBox->currentData(Qt::UserRole).toInt()));
deckModel->sort(deckView->header()->sortIndicatorSection(), deckView->header()->sortIndicatorOrder());
deckView->expandAll();
deckView->expandAll();
});