summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 20:31:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 20:59:50 -0700
commit775736395363ddfe65387b6e05d37546a4601ab9 (patch)
tree1492b5d608203e52be6831be2ce1393b8c7477ac /qt-ui/profilegraphics.h
parent33135e37a5458419bd33192c0c924a30cbbb180f (diff)
downloadsubsurface-775736395363ddfe65387b6e05d37546a4601ab9.tar.gz
Re-enable dive computer selectiom
This had been disabled by some redraw optimizations in commit 81406b80c6ec ("Fix loading a second dive, after the first file was loaded."). We need to redraw the plot not only if the dive changed but also if the selected divecomputer changed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 453b8cf03..b8757b09a 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -98,6 +98,7 @@ private:
ToolTipItem *toolTip;
graphics_context gc;
struct dive *dive;
+ struct divecomputer *diveDC;
int zoomLevel;
// Top Level Items.