summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/configuredivecomputerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.cpp')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 970ffb96e..138f9763a 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -417,16 +417,16 @@ void ConfigureDiveComputerDialog::populateDeviceDetails()
{
switch (ui.dcStackedWidget->currentIndex()) {
case 0:
- populateDeviceDetailsOSTC3();
+ populateDeviceDetailsOSTC();
break;
case 1:
- populateDeviceDetailsSuuntoVyper();
+ populateDeviceDetailsOSTC3();
break;
case 2:
- populateDeviceDetailsOSTC();
+ populateDeviceDetailsOSTC4();
break;
case 3:
- populateDeviceDetailsOSTC4();
+ populateDeviceDetailsSuuntoVyper();
break;
}
}
@@ -954,16 +954,16 @@ void ConfigureDiveComputerDialog::reloadValues()
switch (ui.dcStackedWidget->currentIndex()) {
case 0:
- reloadValuesOSTC3();
+ reloadValuesOSTC();
break;
case 1:
- reloadValuesSuuntoVyper();
+ reloadValuesOSTC3();
break;
case 2:
- reloadValuesOSTC();
+ reloadValuesOSTC4();
break;
case 3:
- reloadValuesOSTC4();
+ reloadValuesSuuntoVyper();
break;
}
}
@@ -1431,23 +1431,23 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr
switch (currentRow) {
case 0:
selected_vendor = "Heinrichs Weikamp";
- selected_product = "OSTC 3";
+ selected_product = "OSTC 2N";
fw_upgrade_possible = true;
break;
case 1:
- selected_vendor = "Suunto";
- selected_product = "Vyper";
- fw_upgrade_possible = false;
- break;
- case 2:
selected_vendor = "Heinrichs Weikamp";
- selected_product = "OSTC 2N";
+ selected_product = "OSTC 3";
fw_upgrade_possible = true;
break;
- case 3:
+ case 2:
selected_vendor = "Heinrichs Weikamp";
selected_product = "OSTC 4";
fw_upgrade_possible = true;
+ break;
+ case 3:
+ selected_vendor = "Suunto";
+ selected_product = "Vyper";
+ fw_upgrade_possible = false;
default:
/* Not Supported */
return;