mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Reset libdivecomuter import canceled state
Once the process got cancelled once we never reset the flag. Fixes #82 Initial-fix-by: Jef Driesen Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0d4fb44c18
commit
0e3a24c3c0
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ static QString str_error(const char *fmt, ...)
|
||||||
void DownloadThread::run()
|
void DownloadThread::run()
|
||||||
{
|
{
|
||||||
const char *error;
|
const char *error;
|
||||||
|
import_thread_cancelled = false;
|
||||||
if (!strcmp(data->vendor, "Uemis"))
|
if (!strcmp(data->vendor, "Uemis"))
|
||||||
error = do_uemis_import(data->devname, data->force_download);
|
error = do_uemis_import(data->devname, data->force_download);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue