mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
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>
This commit is contained in:
parent
5f5834698c
commit
0b5e3389e2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue