diff options
-rw-r--r-- | core/libdivecomputer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index e6b600644..beae7c521 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -1121,7 +1121,8 @@ 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")); + if (!downloadTable.nr) + dev_info(data, translate("gettextFromC", "No new dives downloaded from dive computer")); } dc_context_free(data->context); |