From 3c27c62b2d21d9bbad9a2badcf5abe575af33f2f Mon Sep 17 00:00:00 2001 From: xarkes Date: Mon, 14 Jan 2019 13:01:16 +0100 Subject: [PATCH] Fix Graph refresh --- src/widgets/GraphView.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widgets/GraphView.cpp b/src/widgets/GraphView.cpp index 75e4301c..ee226b50 100644 --- a/src/widgets/GraphView.cpp +++ b/src/widgets/GraphView.cpp @@ -741,7 +741,6 @@ void GraphView::showBlock(GraphBlock *block, bool animated) target_y = std::min(verticalScrollBar()->maximum(), target_y); if (animated) { QPropertyAnimation *animation_x = new QPropertyAnimation(horizontalScrollBar(), "value", this); - animation_x->deleteLater(); animation_x->setDuration(500); animation_x->setStartValue(horizontalScrollBar()->value()); animation_x->setEndValue(target_x);