mobile/qml: close upload dialog if success
Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
cb252f39d7
commit
a2717c558a
@ -93,6 +93,10 @@ Kirigami.ScrollablePage {
|
||||
Connections {
|
||||
target: manager
|
||||
onUploadFinish: {
|
||||
if (success) {
|
||||
pageStack.pop()
|
||||
close()
|
||||
}
|
||||
statusText.text = text
|
||||
progress.value = 0
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user