on xenial help sign in
Fix invalid property in Wizard.qml
af9a868Josh Arenson
qml/Wizard/Wizard.qml+3−1
@@ -32,6 +32,8 @@ Showable {
32 // expected behavior of no emission on startup.
32 // expected behavior of no emission on startup.
33 readonly property bool active: loader.active
33 readonly property bool active: loader.active
34
34
35+ property bool shellMode: shell == null ? true : shell.mode
36+
35 hideAnimation: StandardAnimation { property: "opacity"; to: 0 }
37 hideAnimation: StandardAnimation { property: "opacity"; to: 0 }
36
38
37 onRequiredChanged: {
39 onRequiredChanged: {
@@ -43,7 +45,7 @@ Showable {
43 Loader {
45 Loader {
44 id: loader
46 id: loader
45 anchors.fill: parent
47 anchors.fill: parent
46− active: System.wizardEnabled && shell.mode !== "greeter"
48+ active: System.wizardEnabled && shellMode !== "greeter"
47 source: "Pages.qml"
49 source: "Pages.qml"
48
50
49 Binding {
51 Binding {