mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow unit selection on known CSV import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
37b8257e09
commit
3416278da4
2 changed files with 56 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue