summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-16 01:13:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-16 11:06:34 +0200
commit40bc4b629a7592e64374c16cd32b5349555cd96f (patch)
tree816efc707800a1631ce9672404e9cc476ce47f90 /qt-ui/configuredivecomputerdialog.ui
parent51ef56fbcbc8805b4f0901495dc4769b6cdc5fdd (diff)
downloadsubsurface-40bc4b629a7592e64374c16cd32b5349555cd96f.tar.gz
Don't allow writing before we got data
Don't allow creation of backup files or writes to the computer before we know we got some data, either from a backup file or from the actual device. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.ui')
-rw-r--r--qt-ui/configuredivecomputerdialog.ui12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index ea836f45f..f736bd393 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -57,6 +57,12 @@
</item>
<item>
<widget class="QPushButton" name="saveSettingsPushButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Read settnings from backup file or from device before writing to the device</string>
+ </property>
<property name="text">
<string>Save changes to device</string>
</property>
@@ -77,6 +83,12 @@
</item>
<item>
<widget class="QPushButton" name="backupButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Read settnings from backup file or from device before writing to a backup file</string>
+ </property>
<property name="text">
<string>Backup</string>
</property>