summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 85b6b1c78..b36d73da2 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -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();
}
}