From 8500c5f34bf08640f01e5ef7198c5c8a52dabe69 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 13 Oct 2018 15:50:39 +0800 Subject: [PATCH] Disable login button when login begins. #63 --- imports/Spectral/Page/Login.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imports/Spectral/Page/Login.qml b/imports/Spectral/Page/Login.qml index 6476ee4..dc72465 100644 --- a/imports/Spectral/Page/Login.qml +++ b/imports/Spectral/Page/Login.qml @@ -13,6 +13,8 @@ LoginForm { return } + loginButton.text = "Logining in..." + loginButton.enabled = false controller.loginWithCredentials(serverField.text, usernameField.text, passwordField.text) controller.connectionAdded.connect(function() { stackView.pop() })