Commit 1be8c6b3 authored by Don Gagne's avatar Don Gagne

Merge pull request #2489 from DonLakeFlyer/CommandPick

Mission Item Editor: Make dialog go away after command picked
parents 0ed9bf70 7f5c36c7
......@@ -30,6 +30,8 @@ import QGroundControl.ScreenTools 1.0
import QGroundControl.Palette 1.0
QGCViewDialog {
id: root
property var missionItem
property var _vehicle: QGroundControl.multiVehicleManager.activeVehicle
......@@ -106,7 +108,7 @@ QGCViewDialog {
anchors.fill: parent
onClicked: {
missionItem.command = mavCmdInfo.command
accept()
root.reject()
}
}
}
......
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