mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
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:
parent
75fc2505e3
commit
882f4c1aef
2 changed files with 2 additions and 2 deletions
|
@ -351,7 +351,7 @@ Item {
|
||||||
{
|
{
|
||||||
if(text != "")
|
if(text != "")
|
||||||
{
|
{
|
||||||
listview.model.filter = {"settable_per_mesh": true, "label": "*" + text}
|
listview.model.filter = {"settable_per_mesh": true, "i18n_label": "*" + text}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -90,7 +90,7 @@ UM.PreferencesPage
|
||||||
|
|
||||||
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
placeholderText: catalog.i18nc("@label:textbox", "Filter...")
|
||||||
|
|
||||||
onTextChanged: definitionsModel.filter = {"label": "*" + text}
|
onTextChanged: definitionsModel.filter = {"i18n_label": "*" + text}
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollView
|
ScrollView
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue