QML UI: save credentials as they are bein entered

We removed the action button for saving on the Settings page, so credentials
never got saved.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-22 13:15:28 -07:00
parent 680022aea5
commit e49a3b01ab

View file

@ -67,6 +67,9 @@ Item {
Layout.fillWidth: true
inputMethodHints: Qt.ImhEmailCharactersOnly |
Qt.ImhNoAutoUppercase
onEditingFinished: {
saveCredentials()
}
}
Kirigami.Label {
@ -81,6 +84,9 @@ Item {
Qt.ImhHiddenText |
Qt.ImhNoAutoUppercase
Layout.fillWidth: true
onEditingFinished: {
saveCredentials()
}
}
GridLayout {