Let header listen to activeStageId instead of the model

CURA-6028
This commit is contained in:
Jaime van Kessel 2018-12-13 14:28:32 +01:00
parent b7ea075fa9
commit a1a9b058f5

View File

@ -54,7 +54,8 @@ Item
{
text: model.name.toUpperCase()
checkable: true
checked: model.active
checked: model.id == UM.Controller.activeStage.stageId
anchors.verticalCenter: parent.verticalCenter
exclusiveGroup: mainWindowHeaderMenuGroup
style: UM.Theme.styles.main_window_header_tab