From 4e803a08152f5d5db9525c533f27fccdc4d9e096 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 14 Mar 2016 17:42:29 +0100 Subject: [PATCH] Fix errors starting Cura with no machine selected Contributes to CURA-855 --- resources/qml/ProfileSetup.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/ProfileSetup.qml b/resources/qml/ProfileSetup.qml index 4365fe21ab..c0337f3b26 100644 --- a/resources/qml/ProfileSetup.qml +++ b/resources/qml/ProfileSetup.qml @@ -74,9 +74,9 @@ Item{ MenuItem { id: item - text: model_data.name + text: model_data ? model_data.name : "" checkable: true; - checked: model_data.active; + checked: model_data ? model_data.active : false; exclusiveGroup: profileSelectionMenuGroup; onTriggered: {