summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-11 17:27:41 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-11 12:36:43 -0500
commita2717c558af2c740034035875f46a0bb82dae078 (patch)
treefbcc9d0dd2c5036e672039286c687d1d31005464
parentcb252f39d7acfff5585a971f5af4f9cd0f758fff (diff)
downloadsubsurface-a2717c558af2c740034035875f46a0bb82dae078.tar.gz
mobile/qml: close upload dialog if success
Signed-off-by: Jan Iversen <jan@casacondor.com>
-rw-r--r--mobile-widgets/qml/Export.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/Export.qml b/mobile-widgets/qml/Export.qml
index 8b908d16f..ad66c22d1 100644
--- a/mobile-widgets/qml/Export.qml
+++ b/mobile-widgets/qml/Export.qml
@@ -93,6 +93,10 @@ Kirigami.ScrollablePage {
Connections {
target: manager
onUploadFinish: {
+ if (success) {
+ pageStack.pop()
+ close()
+ }
statusText.text = text
progress.value = 0
}