@@ -117,6 +117,7 @@ Row {
117 property Item shell: shellLoader.status === Loader.Ready ? shellLoader.item : null
117 property Item shell: shellLoader.status === Loader.Ready ? shellLoader.item : null
119 function init() {
119 function init() {
120+ tryCompare(shell, "enabled", true); // will be enabled when greeter is all ready
120 sessionSpy.target = findChild(shell, "greeter")
121 sessionSpy.target = findChild(shell, "greeter")
121 swipeAwayGreeter()
122 swipeAwayGreeter()
122 shell.failedLoginsDelayAttempts = -1
123 shell.failedLoginsDelayAttempts = -1
@@ -126,6 +127,8 @@ Row {
128 function cleanup() {
129 function cleanup() {
130+ tryCompare(shell, "enabled", true); // make sure greeter didn't leave us in disabled state
129 shellLoader.itemDestroyed = false
132 shellLoader.itemDestroyed = false
131 shellLoader.active = false
134 shellLoader.active = false