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
@ -335,6 +335,7 @@ static QString str_error(const char *fmt, ...)
|
||||
void DownloadThread::run()
|
||||
{
|
||||
const char *error;
|
||||
import_thread_cancelled = false;
|
||||
if (!strcmp(data->vendor, "Uemis"))
|
||||
error = do_uemis_import(data->devname, data->force_download);
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user