mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-20 07:45:17 -05:00
Sort after addition again. (#5988)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user