mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07: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
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ QModelIndex DeckListModel::addCard(const QString &cardName,
|
||||||
cardNode->setCardProviderId(cardInfoSet.getProperty("uuid"));
|
cardNode->setCardProviderId(cardInfoSet.getProperty("uuid"));
|
||||||
deckList->refreshDeckHash();
|
deckList->refreshDeckHash();
|
||||||
}
|
}
|
||||||
// sort(lastKnownColumn, lastKnownOrder);
|
sort(lastKnownColumn, lastKnownOrder);
|
||||||
emitRecursiveUpdates(parentIndex);
|
emitRecursiveUpdates(parentIndex);
|
||||||
return nodeToIndex(cardNode);
|
return nodeToIndex(cardNode);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue