summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
index defbf1ff..d78bed7f 100644
--- a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
+++ b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp
@@ -275,9 +275,11 @@ void RowManager::updateRulerDuration(bool updateMaxDuration)
if (dur_i > maxDuration)
maxDuration = dur_i;
}
+ rootRow->rowTimeline()->setEndTime(maxDuration);
}
m_scene->ruler()->setDuration(duration);
+
if (updateMaxDuration)
m_scene->ruler()->setMaxDuration(maxDuration);
}