diff --git a/cockatrice/src/carddatabasemodel.cpp b/cockatrice/src/carddatabasemodel.cpp index fa73e3bb..7753af81 100644 --- a/cockatrice/src/carddatabasemodel.cpp +++ b/cockatrice/src/carddatabasemodel.cpp @@ -237,8 +237,7 @@ TokenDisplayModel::TokenDisplayModel(QObject *parent) bool TokenDisplayModel::filterAcceptsRow(int sourceRow, const QModelIndex & /*sourceParent*/) const { CardInfo const *info = static_cast(sourceModel())->getCard(sourceRow); - - return info->getIsToken(); + return info->getIsToken() && rowMatchesCardName(info); } int TokenDisplayModel::rowCount(const QModelIndex &parent) const