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:
parent
ca2ff99391
commit
95104df589
1 changed files with 1 additions and 1 deletions
|
@ -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()))
|
||||
|
|
Loading…
Reference in a new issue