@@ -20,7 +20,7 @@ import QtTest 1.0
20import Unity.Test 0.1 as UT
20import Unity.Test 0.1 as UT
21import Ubuntu.Components 1.3
21import Ubuntu.Components 1.3
22import Unity.Application 0.1
22import Unity.Application 0.1
23−import "../../../qml/Stages"
23+import "../../../qml/Stage"
25Rectangle {
25Rectangle {
26 color: "red"
26 color: "red"
@@ -87,7 +87,7 @@ Rectangle {
89 CheckBox {id: promptCheckbox; checked: false; activeFocusOnPress: false
89 CheckBox {id: promptCheckbox; checked: false; activeFocusOnPress: false
90− enabled: surfaceContainerLoader.item.surface === null }
90+ enabled: surfaceContainerLoader.item && surfaceContainerLoader.item.surface === null }
91 Label { text: "isPromptSurface" }
91 Label { text: "isPromptSurface" }