diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-05 11:13:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-05 11:14:59 -0800 |
commit | 65eed80e3730438273fff5f9610085db83ae4c0b (patch) | |
tree | 435944cf36daee58407e9418e2b4989f36c085a1 /qt-ui/profile/profilewidget2.cpp | |
parent | 0de3bc84523778ad74a305a5f9e85645c90e02cf (diff) | |
download | subsurface-65eed80e3730438273fff5f9610085db83ae4c0b.tar.gz |
Don't always show the setpoint graph
We need to use the same conditional here as we do earlier in the code.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index f986a2c30..f17575d67 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -991,7 +991,7 @@ void ProfileWidget2::setProfileState() } pn2GasItem->setVisible(prefs.pp_graphs.pn2); po2GasItem->setVisible(prefs.pp_graphs.po2); - o2SetpointGasItem->setVisible(true); + o2SetpointGasItem->setVisible((current_dc->dctype == CCR) && (prefs.show_ccr_setpoint)); pheGasItem->setVisible(prefs.pp_graphs.phe); timeAxis->setPos(itemPos.time.pos.on); |