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:
Dirk Hohndel 2017-05-29 10:34:25 -07:00
parent 57d01701aa
commit dd3edb0dcd

View file

@ -162,6 +162,7 @@ void DiveImportedModel::recordDives()
diveTable->dives[i] = NULL;
}
diveTable->nr = 0;
process_dives(true, true);
}
QHash<int, QByteArray> DiveImportedModel::roleNames() const {