Merge branch 'fix_visibilitymenu_style' of https://github.com/fieldOfView/Cura

This commit is contained in:
Jaime van Kessel 2021-06-01 16:33:10 +02:00
commit 6fc1088cdb
No known key found for this signature in database
GPG key ID: 3710727397403C91
6 changed files with 127 additions and 7 deletions

View file

@ -8,7 +8,7 @@ import QtQml.Models 2.14 as Models
import UM 1.2 as UM
import Cura 1.0 as Cura
Menu
Cura.Menu
{
ActionGroup { id: group }
@ -23,7 +23,7 @@ Menu
{
model: settingVisibilityPresetsModel.items
MenuItem
Cura.MenuItem
{
text: modelData.name
checkable: true
@ -39,8 +39,8 @@ Menu
onObjectRemoved: menu.removeItem(object)
}
MenuSeparator {}
MenuItem
Cura.MenuSeparator {}
Cura.MenuItem
{
text: catalog.i18nc("@action:inmenu", "Collapse All Categories")
onTriggered:
@ -48,8 +48,8 @@ Menu
collapseAllCategories();
}
}
MenuSeparator {}
MenuItem
Cura.MenuSeparator {}
Cura.MenuItem
{
text: catalog.i18nc("@action:inmenu", "Manage Setting Visibility...")
icon.name: "configure"