Browse Source

Set numericValuesOnly on calculator entry fields

QGC4.4
Don Gagne 2 years ago committed by Don Gagne
parent
commit
ac5096ef9c
  1. 4
      src/AutoPilotPlugins/PX4/PowerComponent.qml

4
src/AutoPilotPlugins/PX4/PowerComponent.qml

@ -439,7 +439,7 @@ SetupPage { @@ -439,7 +439,7 @@ SetupPage {
columns: 2
QGCLabel { text: qsTr("Measured voltage:") }
QGCTextField { id: measuredVoltage }
QGCTextField { id: measuredVoltage; numericValuesOnly: true }
QGCLabel { text: qsTr("Vehicle voltage:") }
QGCLabel { text: _batteryFactGroup.voltage.valueString }
@ -497,7 +497,7 @@ SetupPage { @@ -497,7 +497,7 @@ SetupPage {
columns: 2
QGCLabel { text: qsTr("Measured current:") }
QGCTextField { id: measuredCurrent }
QGCTextField { id: measuredCurrent; numericValuesOnly: true }
QGCLabel { text: qsTr("Vehicle current:") }
QGCLabel { text: _batteryFactGroup.current.valueString }

Loading…
Cancel
Save