mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 03:13:24 +00:00
mobile/qml: close upload dialog if success
Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
cb252f39d7
commit
a2717c558a
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ Kirigami.ScrollablePage {
|
||||||
Connections {
|
Connections {
|
||||||
target: manager
|
target: manager
|
||||||
onUploadFinish: {
|
onUploadFinish: {
|
||||||
|
if (success) {
|
||||||
|
pageStack.pop()
|
||||||
|
close()
|
||||||
|
}
|
||||||
statusText.text = text
|
statusText.text = text
|
||||||
progress.value = 0
|
progress.value = 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue