diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 22:17:02 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 22:17:02 +0800 |
commit | 2be52462fd597a122f3564736acef1de894f6a02 (patch) | |
tree | dfe2c90820e70b74ec15225d9529331ac27949dc /Login.qml | |
parent | 134ebc6d8e7e1cc73f1bffccf4e4dfa01c8ced21 (diff) |
Profile creation page is pushed only if logged in
Diffstat (limited to 'Login.qml')
-rw-r--r-- | Login.qml | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -2,14 +2,12 @@ import QtQuick 2.12 LoginForm { signal logIn(string name, string password) + function createProfile() { + stackView.push("qrc:/pages/CreateProfile.qml") + } objectName: "login" width: appWindow.width height: appWindow.height - - emailButton { - onClicked: { - stackView.push("qrc:/pages/Email.qml") - } - } + emailButton.onClicked: stackView.push("qrc:/pages/Email.qml") } |