@@ -40,7 +40,10 @@ Showable {
4040 // If both are unset, the Lockscreen will show a confirm button and allow typing any length of pin before
4141 // confirming. If minPinLength is set to a value > 0, the confirm button will only become active when the
4242 // entered pin is at least that long. If maxPinLength is set, the lockscreen won't allow entering any
43− // more numbers than that.
43+ // more numbers than that. If both are set to the same value, the lockscreen will enter auto confirming
44+ // behavior, hiding the confirmation button and triggering that automatically when the entered pin reached
45+ // that length. This is ignored by the alphaNumeric lockscreen as that one is always confirmed by pressing
46+ // enter on the OSK.
4447 property int minPinLength: -1
4548 property int maxPinLength: -1
4649
@@ -82,6 +85,7 @@ Showable {
8285
8386 Timer {
8487 id: forcedDelayTimer
88+ onTriggered: pinPadLoader.showWrongText = false
8589 }
8690
8791 Rectangle {
@@ -160,7 +164,8 @@ Showable {
160164 Binding {
161165 target: pinPadLoader.item
162166 property: "errorText"
163− value: forcedDelayTimer.running ? i18n.tr("Too many incorrect attempts") : root.errorText
167+ value: forcedDelayTimer.running ? i18n.tr("Too many incorrect attempts") :
168+ (pinPadLoader.showWrongText ? root.errorText : "")
164169 }
165170 Binding {
166171 target: pinPadLoader.item