Fix the back button in the login page

This commit is contained in:
Michael Zanetti 2019-06-18 15:16:23 +02:00
parent ab2f247c76
commit 5e6e56c31b

View File

@ -23,6 +23,7 @@ Page {
buttonText: qsTr("Next")
onButtonClicked: {
var page = pageStack.push(Qt.resolvedUrl("LoginPage.qml"));
page.backPressed.connect(function() {pageStack.pop();})
}
}
}