diff --git a/src/gui/panels/timeline-panel.cpp b/src/gui/panels/timeline-panel.cpp index c90449124..db1c1759f 100644 --- a/src/gui/panels/timeline-panel.cpp +++ b/src/gui/panels/timeline-panel.cpp @@ -367,8 +367,13 @@ TimelinePanel::load_state(weak_ptr sequence) shared_ptr shared_sequence = sequence.lock(); if(shared_sequence) - return shared_ptr< timeline::TimelineState >( - new timeline::TimelineState(shared_sequence)); + { + shared_ptr new_state( + new timeline::TimelineState(shared_sequence)); + timelineStates[sequence] = new_state; + return new_state; + } + return shared_ptr< timeline::TimelineState >(); }