Sort after addition again. (#5988)

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL
2025-06-14 01:11:17 +02:00
committed by GitHub
parent d5dc70ccee
commit 867a8e855b

View File

@@ -424,7 +424,7 @@ QModelIndex DeckListModel::addCard(const QString &cardName,
cardNode->setCardProviderId(cardInfoSet.getProperty("uuid"));
deckList->refreshDeckHash();
}
// sort(lastKnownColumn, lastKnownOrder);
sort(lastKnownColumn, lastKnownOrder);
emitRecursiveUpdates(parentIndex);
return nodeToIndex(cardNode);
}