Sort after addition again.

This commit is contained in:
Lukas Brübach 2025-06-13 22:42:44 +02:00
parent d5dc70ccee
commit 8a6bfc05cd

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);
}