diff --git a/src/ui/preferences/SerialSettings.qml b/src/ui/preferences/SerialSettings.qml index 64ceb78f6ba83383bed8e2abcae8b5d0d124b34a..8438549d070b9ad7a6a3b8306bc3168c26accf53 100644 --- a/src/ui/preferences/SerialSettings.qml +++ b/src/ui/preferences/SerialSettings.qml @@ -43,24 +43,6 @@ Item { height: ScreenTools.defaultFontPixelHeight / 2 width: parent.width } - QGCCheckBox { - text: "High Latency" - checked: false - visible: editConfig ? editConfig.highLatencyAllowed : false - onCheckedChanged: { - if(editConfig) { - editConfig.highLatency = checked - } - } - Component.onCompleted: { - if(editConfig) - checked = editConfig.highLatency - } - } - Item { - height: ScreenTools.defaultFontPixelHeight / 2 - width: parent.width - } Row { spacing: ScreenTools.defaultFontPixelWidth QGCLabel { @@ -253,5 +235,19 @@ Item { } } } + QGCCheckBox { + text: "High Latency" + checked: false + visible: editConfig ? editConfig.highLatencyAllowed : false + onCheckedChanged: { + if(editConfig) { + editConfig.highLatency = checked + } + } + Component.onCompleted: { + if(editConfig) + checked = editConfig.highLatency + } + } } } diff --git a/src/ui/preferences/TcpSettings.qml b/src/ui/preferences/TcpSettings.qml index 15fa893ba33e8fe359f0a988f94af0f6c55dda96..6f0ac0e2d57ef50820f784181fded58f14d88a67 100644 --- a/src/ui/preferences/TcpSettings.qml +++ b/src/ui/preferences/TcpSettings.qml @@ -46,24 +46,6 @@ Item { height: ScreenTools.defaultFontPixelHeight / 2 width: parent.width } - QGCCheckBox { - text: "High Latency" - checked: false - visible: editConfig ? editConfig.highLatencyAllowed : false - onCheckedChanged: { - if(editConfig) { - editConfig.highLatency = checked - } - } - Component.onCompleted: { - if(editConfig) - checked = editConfig.highLatency - } - } - Item { - height: ScreenTools.defaultFontPixelHeight / 2 - width: parent.width - } Row { spacing: ScreenTools.defaultFontPixelWidth QGCLabel { @@ -93,5 +75,19 @@ Item { anchors.verticalCenter: parent.verticalCenter } } + QGCCheckBox { + text: "High Latency" + checked: false + visible: editConfig ? editConfig.highLatencyAllowed : false + onCheckedChanged: { + if(editConfig) { + editConfig.highLatency = checked + } + } + Component.onCompleted: { + if(editConfig) + checked = editConfig.highLatency + } + } } } diff --git a/src/ui/preferences/UdpSettings.qml b/src/ui/preferences/UdpSettings.qml index ecb822b9f9516e3fa5217d2fb0bd42bd03ea80b8..6332dc964933134b017b95b9ac68944f2d238c3f 100644 --- a/src/ui/preferences/UdpSettings.qml +++ b/src/ui/preferences/UdpSettings.qml @@ -52,24 +52,6 @@ Item { height: ScreenTools.defaultFontPixelHeight / 2 width: parent.width } - QGCCheckBox { - text: "High Latency" - checked: false - visible: editConfig ? editConfig.highLatencyAllowed : false - onCheckedChanged: { - if(editConfig) { - editConfig.highLatency = checked - } - } - Component.onCompleted: { - if(editConfig) - checked = editConfig.highLatency - } - } - Item { - height: ScreenTools.defaultFontPixelHeight / 2 - width: parent.width - } Row { spacing: ScreenTools.defaultFontPixelWidth QGCLabel { @@ -193,5 +175,19 @@ Item { } } } + QGCCheckBox { + text: "High Latency" + checked: false + visible: editConfig ? editConfig.highLatencyAllowed : false + onCheckedChanged: { + if(editConfig) { + editConfig.highLatency = checked + } + } + Component.onCompleted: { + if(editConfig) + checked = editConfig.highLatency + } + } } }