Make the other parts of the Cura UI which have a filter, also search on i18n labels.

CURA-2653 Searching in English while other language set
This commit is contained in:
Simon Edwards 2016-12-08 16:54:34 +01:00
parent 75fc2505e3
commit 882f4c1aef
2 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ Item {
{
if(text != "")
{
listview.model.filter = {"settable_per_mesh": true, "label": "*" + text}
listview.model.filter = {"settable_per_mesh": true, "i18n_label": "*" + text}
}
else
{

View File

@ -90,7 +90,7 @@ UM.PreferencesPage
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
onTextChanged: definitionsModel.filter = {"label": "*" + text}
onTextChanged: definitionsModel.filter = {"i18n_label": "*" + text}
}
ScrollView