diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-21 07:52:14 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-21 07:52:14 -0500 |
commit | 0b5e3389e26892a8670e33947f50a5ed1d1a810e (patch) | |
tree | 5d98ae7d54021f8cf57db507fd65726460c3d758 /qt-ui | |
parent | 5f5834698cb0cf955f09a6f766afca7972b6c2be (diff) | |
download | subsurface-0b5e3389e26892a8670e33947f50a5ed1d1a810e.tar.gz |
Make sure tank bar button triggers tank bar
This worked flawlessly on Mac and Linux, but on Windows I needed to add
the explicit setVisible here - not quite sure why.
Fixes #710
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 675a1029c..bd51b3310 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -580,6 +580,7 @@ void ProfileWidget2::settingsChanged() gasYAxis->setPos(itemPos.partialPressure.pos.on); gasYAxis->animateChangeLine(itemPos.partialPressure.expanded); } + tankItem->setVisible(prefs.tankbar); if (prefs.zoomed_plot != isPlotZoomed) { isPlotZoomed = prefs.zoomed_plot; needReplot = true; |