From 775736395363ddfe65387b6e05d37546a4601ab9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 22 May 2013 20:31:27 -0700 Subject: 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 --- qt-ui/profilegraphics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profilegraphics.h') 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. -- cgit v1.2.3-70-g09d2