aboutsummaryrefslogtreecommitdiffstats
path: root/cli-downloader.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-11-27 21:32:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 13:26:55 -0800
commit40311362f323fd8a4d62a0b044dbf2e778654174 (patch)
tree98e75dabc07ca19060854bcb3a952d65f8a03422 /cli-downloader.cpp
parent5e34531e326d8f9b67cddd5f5af34265381be0d0 (diff)
downloadsubsurface-40311362f323fd8a4d62a0b044dbf2e778654174.tar.gz
downloader: save downloaded dives
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'cli-downloader.cpp')
-rw-r--r--cli-downloader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-downloader.cpp b/cli-downloader.cpp
index 1cf97f487..34f8790e9 100644
--- a/cli-downloader.cpp
+++ b/cli-downloader.cpp
@@ -37,4 +37,5 @@ void cliDownloader(const char *vendor, const char *product, const char *device)
// before we start, remember where the dive_table ended
diveImportedModel->startDownload();
diveImportedModel->waitForDownload();
+ diveImportedModel->recordDives();
}