mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: fix reloading dive list after download
There was a sad typo in commit eecca6aab0
("Mobile: replace model-reset
by row-addition in DiveListModel::reload()").
Additionally, we need to also refresh the dive list so that the new
dives are shown.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1c24ac1a94
commit
e7e21aec6b
1 changed files with 2 additions and 1 deletions
|
@ -382,7 +382,8 @@ Kirigami.Page {
|
||||||
manager.appendTextToLog("Save downloaded dives that were selected")
|
manager.appendTextToLog("Save downloaded dives that were selected")
|
||||||
importModel.recordDives()
|
importModel.recordDives()
|
||||||
manager.saveChangesLocal()
|
manager.saveChangesLocal()
|
||||||
diveModel.resetInternaData()
|
diveModel.resetInternalData()
|
||||||
|
manager.refreshDiveList()
|
||||||
pageStack.pop();
|
pageStack.pop();
|
||||||
download.text = qsTr("Download")
|
download.text = qsTr("Download")
|
||||||
divesDownloaded = false
|
divesDownloaded = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue