mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Add a check for null to avoid warnings in the logs.
This commit is contained in:
parent
3d4da94b36
commit
473160a102
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ Item
|
|||
{
|
||||
text: model.name.toUpperCase()
|
||||
checkable: true
|
||||
checked: model.id == UM.Controller.activeStage.stageId
|
||||
checked: UM.Controller.activeStage != null ? model.id == UM.Controller.activeStage.stageId : false
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
exclusiveGroup: mainWindowHeaderMenuGroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue