mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
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:
parent
5a8d411c35
commit
783b26e521
1 changed files with 2 additions and 5 deletions
|
@ -60,16 +60,12 @@ UM.Dialog
|
||||||
CheckBox
|
CheckBox
|
||||||
{
|
{
|
||||||
id: toggleShowAll
|
id: toggleShowAll
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
|
|
||||||
text: catalog.i18nc("@label:checkbox", "Show all")
|
text: catalog.i18nc("@label:checkbox", "Show all")
|
||||||
checked: listview.model.showAll
|
|
||||||
onClicked: listview.model.showAll = checked
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollView
|
ScrollView
|
||||||
|
@ -85,7 +81,7 @@ UM.Dialog
|
||||||
}
|
}
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
id:listview
|
id: listview
|
||||||
model: UM.SettingDefinitionsModel
|
model: UM.SettingDefinitionsModel
|
||||||
{
|
{
|
||||||
id: definitionsModel
|
id: definitionsModel
|
||||||
|
@ -98,6 +94,7 @@ UM.Dialog
|
||||||
excluded_settings = excluded_settings.concat(settingPickDialog.additional_excluded_settings)
|
excluded_settings = excluded_settings.concat(settingPickDialog.additional_excluded_settings)
|
||||||
return excluded_settings
|
return excluded_settings
|
||||||
}
|
}
|
||||||
|
showAll: toggleShowAll.checked || filterInput.text !== ""
|
||||||
}
|
}
|
||||||
delegate:Loader
|
delegate:Loader
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue