mobile-widgets/qml: close Export page after export (or cancel)

Remove page from pageStack, which removes the page from user view.

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-04 21:19:17 +01:00 committed by Dirk Hohndel
parent fb0bb33d82
commit 599984d44a

View file

@ -19,9 +19,11 @@ Kirigami.ScrollablePage {
title: radioGroup.current.text
onAccepted: {
manager.exportToFile(selectedExport, fileUrls, anonymize.checked)
pageStack.pop()
close()
}
onRejected: {
pageStack.pop()
close()
}
}