mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:33:23 +00:00
QML UI: process freshly downloaded dives
This way they get correctly prepared and derived data fields get populated. For example, the dive number gets updated if these are indeed the newest dives. Fixes #408 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
57d01701aa
commit
dd3edb0dcd
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ void DiveImportedModel::recordDives()
|
|||
diveTable->dives[i] = NULL;
|
||||
}
|
||||
diveTable->nr = 0;
|
||||
process_dives(true, true);
|
||||
}
|
||||
|
||||
QHash<int, QByteArray> DiveImportedModel::roleNames() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue