|
|
|
@ -83,10 +83,7 @@ QGCView {
@@ -83,10 +83,7 @@ QGCView {
|
|
|
|
|
onAutoSyncChanged: QGroundControl.flightMapSettings.saveMapSetting(editorMap.mapName, _autoSyncKey, autoSync) |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
onMissionItemsChanged: { |
|
|
|
|
updateHomePosition() |
|
|
|
|
itemEditor.clearItem() |
|
|
|
|
} |
|
|
|
|
onMissionItemsChanged: itemEditor.clearItem() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QGCPalette { id: qgcPal; colorGroupEnabled: enabled } |
|
|
|
@ -105,19 +102,6 @@ QGCView {
@@ -105,19 +102,6 @@ QGCView {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function updateHomePosition() { |
|
|
|
|
if (liveHomePositionAvailable) { |
|
|
|
|
homePosition = liveHomePosition |
|
|
|
|
_missionItems.get(0).coordinate = liveHomePosition |
|
|
|
|
_missionItems.get(0).homePositionValid = true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Component.onCompleted: updateHomePosition() |
|
|
|
|
//onOfflineHomePositionChanged: updateHomePosition() |
|
|
|
|
onLiveHomePositionAvailableChanged: updateHomePosition() |
|
|
|
|
onLiveHomePositionChanged: updateHomePosition() |
|
|
|
|
|
|
|
|
|
QGCViewPanel { |
|
|
|
|
id: panel |
|
|
|
|
anchors.fill: parent |
|
|
|
|