mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +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 {
|
||||
target: manager
|
||||
onUploadFinish: {
|
||||
if (success) {
|
||||
pageStack.pop()
|
||||
close()
|
||||
}
|
||||
statusText.text = text
|
||||
progress.value = 0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue