From 867a8e855bde3f1774ef2c03a31aaa7a34c7b83c Mon Sep 17 00:00:00 2001 From: BruebachL <44814898+BruebachL@users.noreply.github.com> Date: Sat, 14 Jun 2025 01:11:17 +0200 Subject: [PATCH] Sort after addition again. (#5988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lukas BrĂ¼bach --- cockatrice/src/deck/deck_list_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/deck/deck_list_model.cpp b/cockatrice/src/deck/deck_list_model.cpp index 52f0e316c..3ba41cc6a 100644 --- a/cockatrice/src/deck/deck_list_model.cpp +++ b/cockatrice/src/deck/deck_list_model.cpp @@ -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); }