-- 
Best regards,
Guido
From 6231c844fc1eb15373a506ec3e31108df38b55bb Mon Sep 17 00:00:00 2001
From: glerch <[email protected]>
Date: Wed, 16 Sep 2015 20:29:44 +0200
Subject: [PATCH 6/6] UEMIS-uncheck the force download

This changes assures we uncheck the forcedownload flag after the
first round of reading to assure the uemis downloader doesnt go
in cyrcles.

Please check if this patch has any negative impact on
other computers.

Signed-off-by: glerch <[email protected]>
---
 qt-ui/downloadfromdivecomputer.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qt-ui/downloadfromdivecomputer.cpp 
b/qt-ui/downloadfromdivecomputer.cpp
index 7e18dae..d9d0dc9 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -443,6 +443,9 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
        }
        ui.downloadCancelRetryButton->setText(tr("Retry"));
        ui.downloadCancelRetryButton->setEnabled(true);
+       // make sure we uncheck this flag otherwise the UEMIS is going in 
cyrcles
+       // if we get here the download table should have existing dives anyway
+       ui.forceDownload->setChecked(false);
        // regardless, if we got dives, we should show them to the user
        if (downloadTable.nr) {
                diveImportedModel->setImportedDivesIndexes(0, downloadTable.nr 
- 1);
-- 
1.9.5 (Apple Git-50.3)

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to