mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
90d73924c2
commit
731d9dc9bd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue