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>
This commit is contained in:
Dirk Hohndel 2013-05-22 20:31:27 -07:00
parent 33135e37a5
commit 7757363953
2 changed files with 9 additions and 7 deletions

View file

@ -98,6 +98,7 @@ private:
ToolTipItem *toolTip;
graphics_context gc;
struct dive *dive;
struct divecomputer *diveDC;
int zoomLevel;
// Top Level Items.