Browse Source

Reflow flight mode layout even when joystick control is enabled

QGC4.4
Nate Weibley 10 years ago
parent
commit
81e0121114
  1. 3
      src/AutoPilotPlugins/PX4/FlightModesComponent.qml

3
src/AutoPilotPlugins/PX4/FlightModesComponent.qml

@ -136,10 +136,9 @@ QGCView {
running: true running: true
onTriggered: { onTriggered: {
recalcModePositions()
if (rcInMode.value == 1) { if (rcInMode.value == 1) {
showDialog(joystickEnabledDialogComponent, title, 50, 0) showDialog(joystickEnabledDialogComponent, title, 50, 0)
} else {
recalcModePositions()
} }
} }
} }

Loading…
Cancel
Save