summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-17 14:46:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-17 14:46:44 -0700
commit731d9dc9bdf967ecc3d544de62ced6c3c469f6fa (patch)
tree6ad2bb225869151a74768092c9471d99782a33a0 /core/libdivecomputer.c
parent90d73924c227bddd4be93d90df1d1d03c8716f81 (diff)
downloadsubsurface-731d9dc9bdf967ecc3d544de62ced6c3c469f6fa.tar.gz
DC download: tell user when no new dives were found
Otherwise it almost looks like something went wrong with the download. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r--core/libdivecomputer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index ebffad2bf..e6b600644 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -1121,6 +1121,7 @@ const char *do_libdivecomputer_import(device_data_t *data)
/* TODO: Show the logfile to the user on error. */
dc_device_close(data->device);
data->device = NULL;
+ dev_info(data, translate("gettextFromC", "No new dives downloaded from dive computer"));
}
dc_context_free(data->context);