From 867596802f1c4ed8e49d6e79aac7bf89647b67d6 Mon Sep 17 00:00:00 2001 From: nanthony21 Date: Mon, 13 Mar 2017 21:31:13 -0500 Subject: [PATCH] Fixed binding loop --- src/VehicleSetup/JoystickConfig.qml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/VehicleSetup/JoystickConfig.qml b/src/VehicleSetup/JoystickConfig.qml index c926062b9..467bde2e3 100644 --- a/src/VehicleSetup/JoystickConfig.qml +++ b/src/VehicleSetup/JoystickConfig.qml @@ -462,18 +462,13 @@ SetupPage { } Row { - QGCSlider { id: expoSlider - value: -_activeJoystick.exponential minimumValue: 0 maximumValue: 0.75 - Binding { - target: _activeJoystick - property: "exponential" - value:-expoSlider.value - } + Component.onCompleted: value=-_activeJoystick.exponential + onValueChanged: _activeJoystick.exponential=-value } QGCLabel { -- 2.22.0