Commit 7cba8800 authored by Don Gagne's avatar Don Gagne

Use numeric virtual keyboard

parent 2ba8a0f3
......@@ -14,8 +14,11 @@ QGCTextField {
property Fact fact: null
property string _validateString
text: fact.valueString
unitsLabel: fact.units
text: fact.valueString
unitsLabel: fact.units
// At this point all Facts are numeric
inputMethodHints: Qt.ImhFormattedNumbersOnly
onEditingFinished: {
if (qgcView) {
......
......@@ -84,6 +84,9 @@ QGCViewDialog {
id: valueField
text: validate ? validateValue : fact.valueString
// At this point all Facts are numeric
inputMethodHints: Qt.ImhFormattedNumbersOnly
onAccepted: accept()
Keys.onReleased: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment