summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveEquipment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
index f7e2d2667..110472e56 100644
--- a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
+++ b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
@@ -129,7 +129,7 @@ void TabDiveEquipment::toggleTriggeredColumn()
void TabDiveEquipment::updateData()
{
cylindersModel->updateDive();
- weightModel->updateDive();
+ weightModel->updateDive(current_dive);
suitModel.updateModel();
ui.cylinders->view()->hideColumn(CylindersModel::DEPTH);
@@ -272,7 +272,7 @@ void TabDiveEquipment::rejectChanges()
cylindersModel->changed = false;
weightModel->changed = false;
cylindersModel->updateDive();
- weightModel->updateDive();
+ weightModel->updateDive(current_dive);
}
void TabDiveEquipment::divesEdited(int i)