Commit 88da9ec8 authored by poixen's avatar poixen
Browse files

Merge pull request #938 from poixen/load_token_fix

Fixed deck tokens showing in token dlg
parents ef09f45c 88457952
......@@ -156,6 +156,10 @@ bool CardDatabaseDisplayModel::filterAcceptsRow(int sourceRow, const QModelIndex
if (!CardInfo::simplifyName(info->getName()).contains(cardName, Qt::CaseInsensitive))
return false;
if (!cardNameSet.isEmpty())
if (!cardNameSet.contains(info->getName()))
return false;
if (filterTree != NULL)
return filterTree->acceptsCard(info);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment