mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:53:23 +00:00
profile: fix weird disappearance of cylinder pressure line
The reason for this issue, and fix for this is very similar
to commit b4d37e8ee
. Just set both recalculate flags on a mouse
release event, so that the cylinder pressure line is recalculated.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
2c8693f468
commit
36cfab46bd
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ void ProfileWidget2::mouseReleaseEvent(QMouseEvent *event)
|
||||||
return;
|
return;
|
||||||
QGraphicsView::mouseReleaseEvent(event);
|
QGraphicsView::mouseReleaseEvent(event);
|
||||||
if (currentState == PLAN || currentState == ADD || currentState == EDIT) {
|
if (currentState == PLAN || currentState == ADD || currentState == EDIT) {
|
||||||
shouldCalculateMaxTime = true;
|
shouldCalculateMaxTime = shouldCalculateMaxDepth = true;
|
||||||
replot();
|
replot();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue