From b25b06d6548bcf083f1b09347f6d97d53958f379 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 30 Jun 2015 17:01:16 -0700 Subject: [PATCH] Yellwo text for prop warning --- src/AutoPilotPlugins/PX4/PowerComponent.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/PowerComponent.qml b/src/AutoPilotPlugins/PX4/PowerComponent.qml index ce4d92f55..86e8d4b9d 100644 --- a/src/AutoPilotPlugins/PX4/PowerComponent.qml +++ b/src/AutoPilotPlugins/PX4/PowerComponent.qml @@ -98,7 +98,7 @@ QGCView { onBatteryConnected: showMessage("ESC Calibration", "Performing calibration. This will take a few seconds..", 0) onCalibrationFailed: showMessage("ESC Calibration failed", errorMessage, StandardButton.Ok) onCalibrationSuccess: showMessage("ESC Calibration", "Calibration complete. You can disconnect your battery now if you like.", StandardButton.Ok) - onConnectBattery: showMessage("ESC Calibration", "WARNING: Props must be removed from vehicle prior to performing ESC calibration.\n\nConnect the battery now and calibration will begin.", 0) + onConnectBattery: showMessage("ESC Calibration", "WARNING: Props must be removed from vehicle prior to performing ESC calibration. Connect the battery now and calibration will begin.", 0) onDisconnectBattery: showMessage("ESC Calibration failed", "You must disconnect the battery prior to performing ESC Calibration. Disconnect your battery and try again.", StandardButton.Ok) } @@ -248,7 +248,12 @@ QGCView { spacing: 10 QGCLabel { - text: "WARNING:\n\nPropellers must be removed from vehicle prior to performing ESC calibration.\nYou must use USB connection for this operation.\n" + color: "yellow" + text: "WARNING: Propellers must be removed from vehicle prior to performing ESC calibration." + } + + QGCLabel { + text: "You must use USB connection for this operation." } QGCButton { -- 2.22.0