aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2017-07-28 23:49:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-01 13:39:35 -0700
commitcfd5f8bf9516b6d24af37d139a2c8a0e0e27d56e (patch)
tree4722678e36ea47ce50fb7e0b7bdaad1a4dffc36c /desktop-widgets
parenta717cb3a4151ee3d12ab2ae607c661a8facfdfce (diff)
downloadsubsurface-cfd5f8bf9516b6d24af37d139a2c8a0e0e27d56e.tar.gz
Configure ostc4: Wire up reset button
I previously forgot to enable the reset button. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 1dfa27bb9..0a601730f 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -122,6 +122,7 @@ ConfigureDiveComputerDialog::ConfigureDiveComputerDialog(QWidget *parent) : QDia
this, SLOT(deviceDetailsReceived(DeviceDetails *)));
connect(ui.retrieveDetails, SIGNAL(clicked()), this, SLOT(readSettings()));
connect(ui.resetButton, SIGNAL(clicked()), this, SLOT(resetSettings()));
+ connect(ui.resetButton_4, SIGNAL(clicked()), this, SLOT(resetSettings()));
ui.chooseLogFile->setEnabled(ui.logToFile->isChecked());
connect(ui.chooseLogFile, SIGNAL(clicked()), this, SLOT(pickLogFile()));
connect(ui.logToFile, SIGNAL(stateChanged(int)), this, SLOT(checkLogFile(int)));
@@ -1507,6 +1508,7 @@ void ConfigureDiveComputerDialog::dc_open()
ui.retrieveDetails->setEnabled(true);
ui.resetButton->setEnabled(true);
+ ui.resetButton_4->setEnabled(true);
ui.updateFirmwareButton->setEnabled(true);
ui.disconnectButton->setEnabled(true);
ui.restoreBackupButton->setEnabled(true);
@@ -1525,6 +1527,7 @@ void ConfigureDiveComputerDialog::dc_close()
ui.retrieveDetails->setEnabled(false);
ui.resetButton->setEnabled(false);
+ ui.resetButton_4->setEnabled(false);
ui.updateFirmwareButton->setEnabled(false);
ui.disconnectButton->setEnabled(false);
ui.connectButton->setEnabled(true);