summaryrefslogtreecommitdiff
path: root/LoginPassword.qml
blob: d77940853633634e79ad79d06c2c3dd572525344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQuick 2.15
import "larva/features"

LoginPasswordForm {
	property string name

	emailTextLabel.text: name
	passwordTextField.onTextChanged:
		if (!passwordTextField.text || !continueButton.enabled)
			continueButton.enabled = !continueButton.enabled

	continueButton.onClicked: window.logIn(name, passwordTextField.text)
}