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:
parent
adedfe5965
commit
786b0db724
@ -94,7 +94,7 @@ Kirigami.ScrollablePage {
|
||||
onUploadFinish: {
|
||||
if (success) {
|
||||
pageStack.pop()
|
||||
close()
|
||||
uploadDialog.close()
|
||||
}
|
||||
statusText.text = text
|
||||
progress.value = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user