Use the unsigned long long validator for the HOTP counter input field in the QML UI.
parent
543766b819
commit
042b51d183
|
@ -205,7 +205,9 @@ Kirigami.ApplicationWindow {
|
||||||
id: counterField
|
id: counterField
|
||||||
Kirigami.FormData.label: "Counter:"
|
Kirigami.FormData.label: "Counter:"
|
||||||
enabled: hotpRadio.checked
|
enabled: hotpRadio.checked
|
||||||
inputMask: "0009"
|
validator: Validators.HOTPCounterValidator {
|
||||||
|
id: counterValidator
|
||||||
|
}
|
||||||
inputMethodHints: Qt.ImhDigitsOnly
|
inputMethodHints: Qt.ImhDigitsOnly
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue