aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-08 12:34:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-08 12:34:26 -0700
commit15720837d3eaa10c28d4d4e33fa94e72fc417a9c (patch)
tree09579b67b19e01b14265bfee8950cae557648058 /qt-ui
parentf297d9f91e5919c180d15be9562b8e15e6dd368e (diff)
downloadsubsurface-15720837d3eaa10c28d4d4e33fa94e72fc417a9c.tar.gz
replot() needs to really force a replot
So let's set forceReplot to true to make sure that happens. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 1 insertions, 0 deletions
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
}