mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Clear error string when starting dive computer dowload.
Fixes minor interface inconsistency: After a failed download, the error message was also shown on subsequent successful downloads. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6852c3b039
commit
43a5cb3962
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ void DownloadThread::run()
|
|||
Q_ASSERT(internalData->download_table != nullptr);
|
||||
const char *errorText;
|
||||
import_thread_cancelled = false;
|
||||
error.clear();
|
||||
if (!strcmp(internalData->vendor, "Uemis"))
|
||||
errorText = do_uemis_import(internalData);
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue