Updated showing wrong password exception. Fixes #1762
This commit is contained in:
parent
214650df72
commit
de1ac17e1d
|
@ -161,19 +161,6 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageDialog {
|
|
||||||
id: loginError
|
|
||||||
title: qsTr("Login failed")
|
|
||||||
text: qsTr("Login failed. Please re-enter your password and try again.")
|
|
||||||
icon: StandardIcon.Critical
|
|
||||||
standardButtons: StandardButton.Ok
|
|
||||||
onAccepted: {
|
|
||||||
txtPassword.textField.clear()
|
|
||||||
txtPassword.textField.focus = true
|
|
||||||
loading = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: loginModel
|
target: loginModel
|
||||||
ignoreUnknownSignals: true
|
ignoreUnknownSignals: true
|
||||||
|
|
Loading…
Reference in New Issue