mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07: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()
|
text: model.name.toUpperCase()
|
||||||
checkable: true
|
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
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
exclusiveGroup: mainWindowHeaderMenuGroup
|
exclusiveGroup: mainWindowHeaderMenuGroup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue