mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
Allow finding card nodes even if no database entry exists for the given card
This commit is contained in:
parent
edefc7ad90
commit
88578cd0d9
1 changed files with 0 additions and 3 deletions
|
|
@ -432,9 +432,6 @@ DecklistModelCardNode *DeckListModel::findCardNode(const QString &cardName,
|
||||||
const QString &cardNumber) const
|
const QString &cardNumber) const
|
||||||
{
|
{
|
||||||
CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(cardName);
|
CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(cardName);
|
||||||
if (!info) {
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 1. Board zone lookup: search the criteria groups, then the custom zones
|
// 1. Board zone lookup: search the criteria groups, then the custom zones
|
||||||
// nested under the board.
|
// nested under the board.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue