summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Export.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-04 21:19:17 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-05 09:57:06 -0800
commit599984d44a39f6ec69c5813acf2b4eba1b09c519 (patch)
tree9dc9ac4e28242dccd3292e5dccab625093da95b7 /mobile-widgets/qml/Export.qml
parentfb0bb33d82511b5e0e233661617cfb55d0540a16 (diff)
downloadsubsurface-599984d44a39f6ec69c5813acf2b4eba1b09c519.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml/Export.qml')
-rw-r--r--mobile-widgets/qml/Export.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/Export.qml b/mobile-widgets/qml/Export.qml
index 321a93aca..ce283c10f 100644
--- a/mobile-widgets/qml/Export.qml
+++ b/mobile-widgets/qml/Export.qml
@@ -19,9 +19,11 @@ Kirigami.ScrollablePage {
title: radioGroup.current.text
onAccepted: {
manager.exportToFile(selectedExport, fileUrls, anonymize.checked)
+ pageStack.pop()
close()
}
onRejected: {
+ pageStack.pop()
close()
}
}