From fb0d79124fe0d84a4346c0670662bf8b0c64aed0 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Wed, 28 Aug 2019 18:07:53 +0800 Subject: Fixed the singleton user email address setting via QML --- pages/Email.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pages/Email.qml') diff --git a/pages/Email.qml b/pages/Email.qml index 531ceff..f29309e 100644 --- a/pages/Email.qml +++ b/pages/Email.qml @@ -4,11 +4,10 @@ import id.co.darapsa.kelakon.user 0.1 EmailForm { width: stackView.width height: stackView.height - property string emailAddress: User.emailAddress loginButton { onClicked: { - emailAddress = emailTextField.text + User.emailAddress = emailTextField.text stackView.push("qrc:/pages/Password.qml") } } -- cgit v1.2.3