Commit 1ca3d612 authored by Jacob Walser's avatar Jacob Walser

Use joystick enabled setter instead of direct assignment

parent bf7d6859
......@@ -1364,7 +1364,7 @@ void Vehicle::_loadSettings(void)
// Joystick enabled is a global setting so first make sure there are any joysticks connected
if (qgcApp()->toolbox()->joystickManager()->joysticks().count()) {
_joystickEnabled = settings.value(_joystickEnabledSettingsKey, false).toBool();
setJoystickEnabled(settings.value(_joystickEnabledSettingsKey, false).toBool());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment