aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKnud Dollereder <knud.dollereder@qt.io>2019-08-14 11:28:07 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-08-14 09:33:03 +0000
commitef2c3f4e30e5854ff794ea49f0156673aa083ba6 (patch)
tree0a848cec9090d6d577be2a231a343a42fd27012b
parentfc86de5e5ad07dbcd7693445e0dea7b9b0e26bed (diff)
Add newly created properties to the curve-editor
Change-Id: I6a8b6deca7d1f1d124e4b3e2ac845bab5802cbf7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/timelineeditor/timelinegraphicsscene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelinegraphicsscene.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelinegraphicsscene.cpp
index 97ebb7e84d..09555f3ee3 100644
--- a/src/plugins/qmldesigner/components/timelineeditor/timelinegraphicsscene.cpp
+++ b/src/plugins/qmldesigner/components/timelineeditor/timelinegraphicsscene.cpp
@@ -169,6 +169,7 @@ void TimelineGraphicsScene::setWidth(int width)
void TimelineGraphicsScene::invalidateLayout()
{
m_layout->invalidate();
+ toolBar()->setCurrentTimeline(currentTimeline());
}
void TimelineGraphicsScene::setCurrenFrame(const QmlTimeline &timeline, qreal frame)