summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/LoginAccount.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/qml/LoginAccount.qml b/framework/qml/LoginAccount.qml
index f1289dc4..65f162a8 100644
--- a/framework/qml/LoginAccount.qml
+++ b/framework/qml/LoginAccount.qml
@@ -97,7 +97,11 @@ Item {
97 } 97 }
98 } 98 }
99 } 99 }
100 Keys.onReturnPressed: login() 100 Keys.onReturnPressed: {
101 if (loader.item.valid) {
102 login()
103 }
104 }
101 105
102 Item { 106 Item {
103 id: footer 107 id: footer
@@ -112,6 +116,7 @@ Item {
112 anchors.right: parent.right 116 anchors.right: parent.right
113 text: qsTr("Login") 117 text: qsTr("Login")
114 onClicked: login() 118 onClicked: login()
119 enabled: loader.item.valid
115 } 120 }
116 } 121 }
117 } 122 }