diff --git a/src/AutoPilotPlugins/PX4/PowerComponent.qml b/src/AutoPilotPlugins/PX4/PowerComponent.qml index 9768b22..659600b 100644 --- a/src/AutoPilotPlugins/PX4/PowerComponent.qml +++ b/src/AutoPilotPlugins/PX4/PowerComponent.qml @@ -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 { 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 }