summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-07-09 15:02:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 08:55:12 -0700
commitb509eeda1d307669d6ca2e224344bc90692903d1 (patch)
treea907fdb634864f08133d6b72720bcd72a08b16b3 /qt-ui/diveplanner.cpp
parent6480a917563e15352f435fc01a1cc93983575563 (diff)
downloadsubsurface-b509eeda1d307669d6ca2e224344bc90692903d1.tar.gz
Refresh display after toggling backgas breaks.
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 631d605cf..4abddd8e2 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -464,6 +464,7 @@ void PlannerSettingsWidget::setDecoPo2(double po2)
void PlannerSettingsWidget::setBackgasBreaks(bool dobreaks)
{
prefs.doo2breaks = dobreaks;
+ plannerModel->emitDataChanged();
}