mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-30 21:10:02 -05:00
Reverted back to full punctuation
Reverted back. Right now it feels strange to only have simple search. Really you would want both simple search AND accurate search on, though this requires twice the checks for each result.
This commit is contained in:
@@ -171,7 +171,7 @@ bool CardDatabaseDisplayModel::filterAcceptsRow(int sourceRow, const QModelIndex
|
||||
if (((isToken == ShowTrue) && !info->getIsToken()) || ((isToken == ShowFalse) && info->getIsToken()))
|
||||
return false;
|
||||
|
||||
if (!cardName.isEmpty() && !info->getSimpleName().contains(cardName, Qt::CaseInsensitive))
|
||||
if (!cardName.isEmpty() && !info->getName().contains(cardName, Qt::CaseInsensitive))
|
||||
return false;
|
||||
|
||||
if (!cardNameSet.isEmpty() && !cardNameSet.contains(info->getName()))
|
||||
|
||||
Reference in New Issue
Block a user