diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp index 9c0c85cc3..7d97f171e 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor_block.cpp @@ -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; } }