From 36748fef0d4114327ee01f3ff43524483a1e39af Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 4 May 2020 10:33:11 +0200 Subject: Add conneciton for display variations checkbox ...this gat lost at some point. Signed-off-by: Robert C. Helling --- desktop-widgets/diveplanner.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/diveplanner.cpp') diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp index c773d95f2..ce31fb32d 100644 --- a/desktop-widgets/diveplanner.cpp +++ b/desktop-widgets/diveplanner.cpp @@ -469,6 +469,7 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f) connect(ui.display_duration, &QAbstractButton::toggled, plannerModel, &DivePlannerPointsModel::setDisplayDuration); connect(ui.display_runtime, &QAbstractButton::toggled, plannerModel, &DivePlannerPointsModel::setDisplayRuntime); connect(ui.display_transitions, &QAbstractButton::toggled, plannerModel, &DivePlannerPointsModel::setDisplayTransitions); + connect(ui.display_variations, &QAbstractButton::toggled, plannerModel, &DivePlannerPointsModel::setDisplayVariations); connect(ui.safetystop, &QAbstractButton::toggled, plannerModel, &DivePlannerPointsModel::setSafetyStop); connect(ui.reserve_gas, QOverload::of(&QSpinBox::valueChanged), &PlannerShared::set_reserve_gas); connect(ui.ascRate75, QOverload::of(&QSpinBox::valueChanged), plannerModel, &DivePlannerPointsModel::setAscrate75Display); -- cgit v1.2.3-70-g09d2