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>
This commit is contained in:
jan Iversen 2019-12-12 11:43:13 +01:00 committed by Dirk Hohndel
parent adedfe5965
commit 786b0db724

View file

@ -94,7 +94,7 @@ Kirigami.ScrollablePage {
onUploadFinish: {
if (success) {
pageStack.pop()
close()
uploadDialog.close()
}
statusText.text = text
progress.value = 0