Adjusted validation for number inputs.

This commit is contained in:
armored-dragon 2024-08-29 14:56:15 -05:00
parent f27a52d83e
commit 5b1f332bfe
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -149,7 +149,7 @@ Rectangle {
Layout.maximumWidth: 50
id: max_fps
inputMethodHints: Qt.ImhFormattedNumbersOnly
validator: RegExpValidator { regExp: /^-?[0-9]*(\[0-9]*[1-9])?$/ }
validator: RegExpValidator { regExp: /[0-9]*/ }
}
}
}