mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:33:33 +02:00
Adjusted validation for number inputs.
This commit is contained in:
parent
f27a52d83e
commit
5b1f332bfe
1 changed files with 1 additions and 1 deletions
|
@ -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]*/ }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue