From 15720837d3eaa10c28d4d4e33fa94e72fc417a9c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 8 Jul 2014 12:34:26 -0700 Subject: replot() needs to really force a replot So let's set forceReplot to true to make sure that happens. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index c7a27fcbd..9e37f9559 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -254,6 +254,7 @@ void ProfileWidget2::setupItemOnScene() void ProfileWidget2::replot() { dataModel->clear(); + forceReplot = true; plotDive(); // simply plot the displayed_dive again } -- cgit v1.2.3-70-g09d2