From 0e3a24c3c058e91b3743a14eaa61ead4cb15c4ea Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 10 Dec 2013 08:09:42 +0100 Subject: 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 --- qt-ui/downloadfromdivecomputer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index db46b3b72..e1d761e85 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -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 -- cgit v1.2.3-70-g09d2