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, 0 insertions, 4 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
index ed15c20bc..f731631eb 100644
--- a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
+++ b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp
@@ -258,13 +258,11 @@ void TabDiveEquipment::acceptChanges()
MainWindow::instance()->graphics->replot();
cylindersModel->changed = false;
- weightModel->changed = false;
}
void TabDiveEquipment::rejectChanges()
{
cylindersModel->changed = false;
- weightModel->changed = false;
cylindersModel->updateDive();
weightModel->updateDive(current_dive);
}
@@ -290,5 +288,3 @@ void TabDiveEquipment::closeWarning()
{
ui.multiDiveWarningMessage->hide();
}
-
-