Commit 88457952 authored by Matt Lowe's avatar Matt Lowe
Browse files

Fixed deck tokens showing in token dlg

Tokens from decks will now show in the token dlg window
parent 7ea755ab
......@@ -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