diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 12:58:03 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 12:58:03 +0800 |
commit | 4a64f8d229461abbe262ba66ee189d9c3fa4c5ff (patch) | |
tree | f8159059fc2b25bf3840fd68289b6f0315a0aab6 /LoginPassword.qml | |
parent | 8a9b4521d3e1b68d35ab6221f6317329be7e8122 (diff) |
Conform to updated qrtclient & design
Diffstat (limited to 'LoginPassword.qml')
-rw-r--r-- | LoginPassword.qml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/LoginPassword.qml b/LoginPassword.qml index d224526..d779408 100644 --- a/LoginPassword.qml +++ b/LoginPassword.qml @@ -1,15 +1,13 @@ import QtQuick 2.15 -import KelakonUser 0.1 import "larva/features" LoginPasswordForm { - emailTextLabel.text: User.name + property string name + + emailTextLabel.text: name passwordTextField.onTextChanged: if (!passwordTextField.text || !continueButton.enabled) continueButton.enabled = !continueButton.enabled - continueButton.onClicked: { - User.password = passwordTextField.text - window.logIn(User.name, User.password) - } + continueButton.onClicked: window.logIn(name, passwordTextField.text) } |