mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-22 18:37:09 +00:00
[Improvement] Theme editor search improvements
This commit is contained in:
parent
3566949305
commit
c03f13fdd8
@ -63,7 +63,7 @@ public:
|
|||||||
}
|
}
|
||||||
bool searchWordsContain(const QString &needle) const {
|
bool searchWordsContain(const QString &needle) const {
|
||||||
for (const auto &word : _searchWords) {
|
for (const auto &word : _searchWords) {
|
||||||
if (word.startsWith(needle)) {
|
if (word.contains(needle, Qt::CaseInsensitive)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user