diff options
author | Hugle <wulong@comp.nus.edu.sg> | 2014-03-19 02:08:23 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-18 11:49:57 -0700 |
commit | a90818671693fd87f7d76c59a68fe1e3262fc32c (patch) | |
tree | 2e7b6fc3e1e60712af56696b3d6d35d02a3efe91 | |
parent | cb53049b7495398969d45925f7823fd7588e8126 (diff) | |
download | subsurface-a90818671.tar.gz |
Clear PN2 PO2 PHE GasItem
After the dive log has been closed, the ProfileWidget2 does not clear
the pn2 po2 and ph2 gas line.
This patch cleared the three lines after dive log closed.
Acked-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Hugle <wulong@comp.nus.edu.sg>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 90ff5eeba..59d7454ac 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -582,6 +582,9 @@ void ProfileWidget2::setEmptyState() rulerItem->setVisible(false); rulerItem->destNode()->setVisible(false); rulerItem->sourceNode()->setVisible(false); + pn2GasItem->setVisible(false); + po2GasItem->setVisible(false); + pheGasItem->setVisible(false); Q_FOREACH(DiveCalculatedTissue * tissue, allTissues) { tissue->setVisible(false); } |