mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:56:55 +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
|
Layout.maximumWidth: 50
|
||||||
id: max_fps
|
id: max_fps
|
||||||
inputMethodHints: Qt.ImhFormattedNumbersOnly
|
inputMethodHints: Qt.ImhFormattedNumbersOnly
|
||||||
validator: RegExpValidator { regExp: /^-?[0-9]*(\[0-9]*[1-9])?$/ }
|
validator: RegExpValidator { regExp: /[0-9]*/ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue