summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-01 08:01:23 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-01 07:13:47 -0700
commitd23bd46a1be2dfb25293639abcf06b5b4d4b94df (patch)
treeac0d6ae872dfdd45b29f7619c27c2d3e82bf9363 /desktop-widgets/downloadfromdivecomputer.h
parent31e11bc4e83d4d0c407c27cc0abd26b017441c49 (diff)
downloadsubsurface-d23bd46a1be2dfb25293639abcf06b5b4d4b94df.tar.gz
Reset device field in DownloadFromDCWidget according to dive computer
Fixes minor interface inconsistency: The device field in the download-from-dive-computer widget is disabled when selecting a non-serial-transport dive computer. In contrast, post-download the field was reset to enabled for all dive computers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.h')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.h b/desktop-widgets/downloadfromdivecomputer.h
index 6365aa332..a004215a0 100644
--- a/desktop-widgets/downloadfromdivecomputer.h
+++ b/desktop-widgets/downloadfromdivecomputer.h
@@ -58,6 +58,7 @@ slots:
private:
void markChildrenAsDisabled();
void markChildrenAsEnabled();
+ void updateDeviceEnabled();
Ui::DownloadFromDiveComputer ui;
DownloadThread thread;