mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 02:12:14 -07:00
improve filter string validation error message
This commit is contained in:
parent
315cbc0925
commit
f20032a22f
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ FilterString::FilterString(const QString &expr)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!search.parse(ba.data(), result)) {
|
if (!search.parse(ba.data(), result)) {
|
||||||
qDebug() << "Filter string error" << _error;
|
qDebug() << "Filter string error for" << expr << ";" << _error;
|
||||||
result = [](CardData) -> bool { return false; };
|
result = [](CardData) -> bool { return false; };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue