mobile/qml: close upload dialog if success

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-11 17:27:41 +01:00 committed by Dirk Hohndel
parent cb252f39d7
commit a2717c558a

View file

@ -93,6 +93,10 @@ Kirigami.ScrollablePage {
Connections {
target: manager
onUploadFinish: {
if (success) {
pageStack.pop()
close()
}
statusText.text = text
progress.value = 0
}