From 88578cd0d954f50907a19ea539c824e7e83dfa3d Mon Sep 17 00:00:00 2001 From: Jurriaan van den Berg Date: Mon, 26 Oct 2026 23:37:58 +0100 Subject: [PATCH] Allow finding card nodes even if no database entry exists for the given card --- .../libcockatrice/models/deck_list/deck_list_model.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libcockatrice_models/libcockatrice/models/deck_list/deck_list_model.cpp b/libcockatrice_models/libcockatrice/models/deck_list/deck_list_model.cpp index 4b4088972..9a2c49864 100644 --- a/libcockatrice_models/libcockatrice/models/deck_list/deck_list_model.cpp +++ b/libcockatrice_models/libcockatrice/models/deck_list/deck_list_model.cpp @@ -432,9 +432,6 @@ DecklistModelCardNode *DeckListModel::findCardNode(const QString &cardName, const QString &cardNumber) const { CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(cardName); - if (!info) { - return nullptr; - } // 1. Board zone lookup: search the criteria groups, then the custom zones // nested under the board.