summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-30 17:02:42 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-30 07:35:23 -0800
commit3416278da4a2931dd77553d7a2d63137e7a9973f (patch)
tree58edf1d7f481b137e9f60de00714a562e5926d47 /qt-ui
parent37b8257e0913500ae4a40bdd23e7dced9adc83d2 (diff)
downloadsubsurface-3416278da4a2931dd77553d7a2d63137e7a9973f.tar.gz
Allow unit selection on known CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelogimportdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index 5c2a04434..b79d33c43 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -162,10 +162,8 @@ void DiveLogImportDialog::on_knownImports_currentIndexChanged(int index)
{
if (specialCSV.contains(index)) {
ui->groupBox_3->setEnabled(false);
- ui->CSVUnits->setEnabled(false);
} else {
ui->groupBox_3->setEnabled(true);
- ui->CSVUnits->setEnabled(true);
}
if (index == 0)
return;