Un campo password vuoto non cancella la password salvata (0.9.1)
This commit is contained in:
1 parent
871dbe6b43
commit
1b4d6866ee
3 files changed
+12
-5
No files matched your search
@@ -94,7 +94,10 @@ Page {
|
||||
label: qsTr("Password")
|
||||
text: account.password
|
||||
showEchoModeToggle: true
|
||||
onTextChanged: account.password = text
|
||||
// Una password vuota nel campo non deve cancellare quella
|
||||
// salvata: al salvataggio il valore resterebbe vuoto e il
|
||||
// client smetterebbe di autenticare senza dire niente.
|
||||
onTextChanged: if (text.length > 0) account.password = text
|
||||
}
|
||||
|
||||
SectionHeader { text: qsTr("Posta in partenza (SMTP)") }
|
||||
@@ -175,7 +178,7 @@ Page {
|
||||
placeholderText: qsTr("vuota = password della posta")
|
||||
echoMode: TextInput.Password
|
||||
text: account.bookPassword
|
||||
onTextChanged: account.bookPassword = text
|
||||
onTextChanged: if (text.length > 0) account.bookPassword = text
|
||||
}
|
||||
|
||||
Button {
|
||||
|
||||
Reference in new issue
Block a user