mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ Kirigami.ScrollablePage {
|
||||||
onUploadFinish: {
|
onUploadFinish: {
|
||||||
if (success) {
|
if (success) {
|
||||||
pageStack.pop()
|
pageStack.pop()
|
||||||
close()
|
uploadDialog.close()
|
||||||
}
|
}
|
||||||
statusText.text = text
|
statusText.text = text
|
||||||
progress.value = 0
|
progress.value = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue