mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-27 18:03:13 +08:00
Add a check for null to avoid warnings in the logs.
This commit is contained in:
parent
3d4da94b36
commit
473160a102
@ -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…
x
Reference in New Issue
Block a user