Mobile: ensure we go back to the dive list after download

The pop() by itself wasn't enough to do that.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-25 19:59:06 -04:00
parent d709cfb0b8
commit fdf03966d4

View file

@ -392,7 +392,8 @@ Kirigami.Page {
manager.saveChangesLocal() manager.saveChangesLocal()
diveModel.resetInternalData() diveModel.resetInternalData()
manager.refreshDiveList() manager.refreshDiveList()
pageStack.pop(); pageStack.pop()
pageStack.push(diveList)
download.text = qsTr("Download") download.text = qsTr("Download")
busy = false busy = false
rootItem.hideBusy() rootItem.hideBusy()