diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp index a1e533d00..540b24639 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp @@ -59,7 +59,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; } }