Commit 97c67994 authored by DoinLakeFlyer's avatar DoinLakeFlyer

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