From 786b0db724e62c5ac1bae941a85d8446ff0a6205 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 12 Dec 2019 11:43:13 +0100 Subject: [PATCH] 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 --- mobile-widgets/qml/Export.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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