mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Remove sidebar views from views menu
This commit is contained in:
parent
f1b9a17611
commit
9b4b6b2eae
1 changed files with 0 additions and 19 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue