summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-12 11:43:13 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-12 10:10:01 -0500
commit786b0db724e62c5ac1bae941a85d8446ff0a6205 (patch)
treec294c074ddf6723024628045d80efa83bc6854ea /mobile-widgets
parentadedfe596566414b9a3448d17be778579a610cce (diff)
downloadsubsurface-786b0db724e62c5ac1bae941a85d8446ff0a6205.tar.gz
mobile/qml: make close dialog in Connect work
When using Connect, the context is switched, so close() might or might not work. Change unqualified close() to qualified uploadDialog.close() Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/Export.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/Export.qml b/mobile-widgets/qml/Export.qml
index be24ed0fd..875b1258f 100644
--- a/mobile-widgets/qml/Export.qml
+++ b/mobile-widgets/qml/Export.qml
@@ -94,7 +94,7 @@ Kirigami.ScrollablePage {
onUploadFinish: {
if (success) {
pageStack.pop()
- close()
+ uploadDialog.close()
}
statusText.text = text
progress.value = 0