[Improvement] Theme editor search improvements

This commit is contained in:
Eric Kotato 2022-09-11 05:25:12 +03:00 committed by Eric Kotato
parent 2b51c4aae5
commit c13f64843e

View file

@ -63,7 +63,7 @@ public:
}
bool searchWordsContain(const QString &needle) const {
for (const auto &word : _searchWords) {
if (word.startsWith(needle)) {
if (word.contains(needle, Qt::CaseInsensitive)) {
return true;
}
}