diff --git a/src/VehicleSetup/JoystickConfig.qml b/src/VehicleSetup/JoystickConfig.qml index c926062b99df189bd000362d5c7d2d505f996c35..467bde2e3819a4ee50a902689b138f2e15ffbdae 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 {