Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Ensure that the text language filter actually filters by search string.

Wolthera van Hövell tot Westerflier75ecbfc217a4
diff --git a/plugins/dockers/textproperties/LocaleHandler.cpp b/plugins/dockers/textproperties/LocaleHandler.cpp
index ff3288643a..a554f9ad77 100644
--- a/plugins/dockers/textproperties/LocaleHandler.cpp
+++ b/plugins/dockers/textproperties/LocaleHandler.cpp
@@ -163,7 +163,7 @@ void LocaleHandler::setSearchString(const QString &newSearchString)
{
if (d->filteredLanguagesModel->filterRegularExpression().pattern() == newSearchString)
return;
- d->filteredLanguagesModel->setFilterFixedString(newSearchString);
+ d->filteredLanguagesModel->setFilterRegularExpression(newSearchString);
emit searchStringChanged();
}