Commit 97c67994 authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent ea9d4403
......@@ -112,20 +112,14 @@ Item {
id: _rejectButton
anchors.right: _acceptButton.visible ? _acceptButton.left : parent.right
anchors.bottom: parent.bottom
onClicked: {
_dialogComponentLoader.item.reject()
mainWindowDialog.close()
}
onClicked: _dialogComponentLoader.item.reject()
}
QGCButton {
id: _acceptButton
anchors.right: parent.right
anchors.bottom: parent.bottom
primary: true
onClicked: {
_dialogComponentLoader.item.accept()
mainWindowDialog.close()
}
onClicked: _dialogComponentLoader.item.accept()
}
}
Item {
......
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