Browse Source

Checkbox for auto connect on start

QGC4.4
Alexey Bulatov 8 years ago
parent
commit
eee84bfffd
  1. 6
      src/ui/preferences/LinkSettings.qml

6
src/ui/preferences/LinkSettings.qml

@ -271,12 +271,11 @@ Rectangle {
height: ScreenTools.defaultFontPixelHeight * 0.5 height: ScreenTools.defaultFontPixelHeight * 0.5
width: parent.width width: parent.width
} }
/* //-- Auto Connect on Start
//-- Auto Connect
QGCCheckBox { QGCCheckBox {
text: "Automatically Connect on Start" text: "Automatically Connect on Start"
checked: false checked: false
enabled: editConfig ? editConfig.autoConnectAllowed : false visible: editConfig ? editConfig.autoConnectAllowed : false
onCheckedChanged: { onCheckedChanged: {
if(editConfig) { if(editConfig) {
editConfig.autoConnect = checked editConfig.autoConnect = checked
@ -287,7 +286,6 @@ Rectangle {
checked = editConfig.autoConnect checked = editConfig.autoConnect
} }
} }
*/
Item { Item {
height: ScreenTools.defaultFontPixelHeight height: ScreenTools.defaultFontPixelHeight
width: parent.width width: parent.width

Loading…
Cancel
Save