diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 20:31:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 20:59:50 -0700 |
commit | 775736395363ddfe65387b6e05d37546a4601ab9 (patch) | |
tree | 1492b5d608203e52be6831be2ce1393b8c7477ac /qt-ui/profilegraphics.h | |
parent | 33135e37a5458419bd33192c0c924a30cbbb180f (diff) | |
download | subsurface-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.h | 1 |
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. |