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
@ -904,7 +904,7 @@ void ProfileWidget2::mouseReleaseEvent(QMouseEvent *event)
|
||||
return;
|
||||
QGraphicsView::mouseReleaseEvent(event);
|
||||
if (currentState == PLAN || currentState == ADD || currentState == EDIT) {
|
||||
shouldCalculateMaxTime = true;
|
||||
shouldCalculateMaxTime = shouldCalculateMaxDepth = true;
|
||||
replot();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user