1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

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>
This commit is contained in:
Dirk Hohndel 2014-07-08 12:34:26 -07:00
parent f297d9f91e
commit 15720837d3

View file

@ -254,6 +254,7 @@ void ProfileWidget2::setupItemOnScene()
void ProfileWidget2::replot()
{
dataModel->clear();
forceReplot = true;
plotDive(); // simply plot the displayed_dive again
}