mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-24 15:25:21 -05:00
Sort after addition again. (#5988)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
d5dc70ccee
commit
867a8e855b
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user