mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:23:23 +00:00
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:
parent
680022aea5
commit
e49a3b01ab
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue