on xenial help sign in
Fix the lockscreen becoming unresponsive after testing an app on the device from QtCreator.
d9b4c0fMichael Terry
qml/Greeter/Greeter.qml+4−2
@@ -141,8 +141,10 @@ Showable {
141 enabled = false;
141 enabled = false;
142 if (LightDM.Greeter.startSessionSync()) {
142 if (LightDM.Greeter.startSessionSync()) {
143 sessionStarted();
143 sessionStarted();
144+ if (loader.item) {
144− loader.item.notifyAuthenticationSucceeded();
145+ loader.item.notifyAuthenticationSucceeded();
146+ }
145− } else {
147+ } else if (loader.item) {
146 loader.item.notifyAuthenticationFailed();
148 loader.item.notifyAuthenticationFailed();
147 }
149 }
148 enabled = true;
150 enabled = true;