summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp b/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp
index f71105eb..6abfa20c 100644
--- a/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp
+++ b/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineWidget.cpp
@@ -725,6 +725,7 @@ void TimelineWidget::onAsyncUpdate()
m_graphicsScene->rowManager()->updateFiltering();
m_graphicsScene->updateController();
onSelectionChange(doc->GetSelectedValue());
+ m_toolbar->setNewLayerEnabled(!m_graphicsScene->rowManager()->isComponentRoot());
} else {
if (!m_moveMap.isEmpty()) {
// Flip the hash around so that we collect moves by parent.