Commit 37592b0a authored by Don Gagne's avatar Don Gagne

Merge pull request #2269 from NaterGator/flightmodefix

Reflow flight mode layout even when joystick control is enabled
parents b25ca6f1 81e01211
...@@ -136,10 +136,9 @@ QGCView { ...@@ -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()
} }
} }
} }
......
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