mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Let header listen to activeStageId instead of the model
CURA-6028
This commit is contained in:
parent
b7ea075fa9
commit
a1a9b058f5
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ Item
|
||||||
{
|
{
|
||||||
text: model.name.toUpperCase()
|
text: model.name.toUpperCase()
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: model.active
|
checked: model.id == UM.Controller.activeStage.stageId
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
exclusiveGroup: mainWindowHeaderMenuGroup
|
exclusiveGroup: mainWindowHeaderMenuGroup
|
||||||
style: UM.Theme.styles.main_window_header_tab
|
style: UM.Theme.styles.main_window_header_tab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue