mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Add option to collapse or expand all setting categories
Sadly it doesn't display on the category headers themselves, but it works just as well.
This commit is contained in:
parent
60a217fc84
commit
6d10ac993e
1 changed files with 11 additions and 0 deletions
|
@ -601,6 +601,17 @@ Item
|
|||
|
||||
onTriggered: Cura.Actions.configureSettingVisibility.trigger(contextMenu);
|
||||
}
|
||||
MenuSeparator {}
|
||||
MenuItem
|
||||
{
|
||||
text: catalog.i18nc("@action:inmenu", "Collapse All")
|
||||
onTriggered: definitionsModel.collapseAll()
|
||||
}
|
||||
MenuItem
|
||||
{
|
||||
text: catalog.i18nc("@action:inmenu", "Expand All")
|
||||
onTriggered: definitionsModel.expandAll()
|
||||
}
|
||||
}
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue