@@ -74,12 +74,14 @@ Item {
74 function quitWizard() {
74 function quitWizard() {
75 pageStack.currentPage.enabled = false;
75 pageStack.currentPage.enabled = false;
77+ if (password != "") {
77− var errorMsg = securityPrivacy.setSecurity("", password, passwordMethod)
78+ var errorMsg = securityPrivacy.setSecurity("", password, passwordMethod)
78− if (errorMsg !== "") {
79+ if (errorMsg !== "") {
79− // Ignore (but log) any errors, since we're past where the user set
80+ // Ignore (but log) any errors, since we're past where the user set
80− // the method. Worst case, we just leave the user with a swipe
81+ // the method. Worst case, we just leave the user with a swipe
81− // security method and they fix it in the system settings.
82+ // security method and they fix it in the system settings.
82− console.log("Error setting security method:", errorMsg)
83+ console.log("Error setting security method:", errorMsg)