Use the unsigned long long validator for the HOTP counter input field in the QML UI.

master
Johan Ouwerkerk 2019-09-30 21:07:03 +02:00
parent 543766b819
commit 042b51d183
1 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,9 @@ Kirigami.ApplicationWindow {
id: counterField
Kirigami.FormData.label: "Counter:"
enabled: hotpRadio.checked
inputMask: "0009"
validator: Validators.HOTPCounterValidator {
id: counterValidator
}
inputMethodHints: Qt.ImhDigitsOnly
}
/*