From c67e8397b673925a76eb9e15c55436a6b13acded Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 19 May 2015 09:51:06 -0700 Subject: [PATCH 1/2] Fix show dialog while animation running --- src/QmlControls/QGCView.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/QmlControls/QGCView.qml b/src/QmlControls/QGCView.qml index 092a5ee..f02715e 100644 --- a/src/QmlControls/QGCView.qml +++ b/src/QmlControls/QGCView.qml @@ -106,7 +106,15 @@ FactPanel { } } + function __stopAllAnimations() { + if (__animateHideDialog.running) { + __animateHideDialog.stop() + } + } + function showDialog(component, title, charWidth, buttons) { + __stopAllAnimations() + __dialogCharWidth = charWidth __dialogTitle = title @@ -120,6 +128,8 @@ FactPanel { } function showMessage(title, message, buttons) { + __stopAllAnimations() + __dialogCharWidth = 50 __dialogTitle = title __messageDialogText = message From a6857a46df67c4e20a0d50d2add3f530289634d6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 19 May 2015 09:51:15 -0700 Subject: [PATCH 2/2] Typo, text changes --- src/AutoPilotPlugins/PX4/SensorsComponent.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/SensorsComponent.qml b/src/AutoPilotPlugins/PX4/SensorsComponent.qml index 7c00bd8..c28cbcf 100644 --- a/src/AutoPilotPlugins/PX4/SensorsComponent.qml +++ b/src/AutoPilotPlugins/PX4/SensorsComponent.qml @@ -186,7 +186,7 @@ QGCView { Component { id: compass0ComponentLabel - QGCLabel { text: "Compass Orientation" } + QGCLabel { text: "External Compass Orientation" } } Component { id: compass0ComponentCombo @@ -470,7 +470,7 @@ QGCView { Column { x: parent.width - rotationColumnWidth - QGCLabel { text: "Autpilot Orientation" } + QGCLabel { text: "Autopilot Orientation" } FactComboBox { id: boardRotationCombo @@ -483,7 +483,7 @@ QGCView { Component { id: compass0ComponentLabel2 - QGCLabel { text: "Compass Orientation" } + QGCLabel { text: "External Compass Orientation" } } Component { id: compass0ComponentCombo2