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
@ -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…
x
Reference in New Issue
Block a user