mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 13:53:13 +08:00
Remove sidebar views from views menu
This commit is contained in:
parent
f1b9a17611
commit
9b4b6b2eae
@ -30,25 +30,6 @@ Menu
|
||||
}
|
||||
ExclusiveGroup { id: group }
|
||||
|
||||
MenuSeparator {}
|
||||
|
||||
// sidebar views
|
||||
Instantiator
|
||||
{
|
||||
model: Cura.SidebarViewModel{}
|
||||
MenuItem
|
||||
{
|
||||
text: model.name
|
||||
checkable: true
|
||||
checked: model.active
|
||||
exclusiveGroup: sidebarGroup
|
||||
onTriggered: Cura.SidebarController.setActiveSidebarView(model.id)
|
||||
}
|
||||
onObjectAdded: menu.insertItem(index, object)
|
||||
onObjectRemoved: menu.removeItem(object)
|
||||
}
|
||||
ExclusiveGroup { id: sidebarGroup }
|
||||
|
||||
MenuSeparator {}
|
||||
MenuItem { action: Cura.Actions.homeCamera; }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user