mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:09:00 +08: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
@ -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…
x
Reference in New Issue
Block a user