While searching, search through all settings rather than just visible

This makes it consistent with the searching of the normal settings list. It also makes it easier to find certain things like the Cutting Mesh or something.
This commit is contained in:
Ghostkeeper 2020-05-15 13:11:28 +02:00
parent 5a8d411c35
commit 783b26e521
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -60,16 +60,12 @@ UM.Dialog
CheckBox
{
id: toggleShowAll
anchors
{
top: parent.top
right: parent.right
}
text: catalog.i18nc("@label:checkbox", "Show all")
checked: listview.model.showAll
onClicked: listview.model.showAll = checked
}
ScrollView
@ -85,7 +81,7 @@ UM.Dialog
}
ListView
{
id:listview
id: listview
model: UM.SettingDefinitionsModel
{
id: definitionsModel
@ -98,6 +94,7 @@ UM.Dialog
excluded_settings = excluded_settings.concat(settingPickDialog.additional_excluded_settings)
return excluded_settings
}
showAll: toggleShowAll.checked || filterInput.text !== ""
}
delegate:Loader
{