From d1f07d7088be0de61730ad256db017efeb30ef24 Mon Sep 17 00:00:00 2001 From: "Michael R. Fisher" Date: Mon, 10 Oct 2011 18:01:10 -0500 Subject: [PATCH] TimelineBody Is Zooming again now --- src/gui/widgets/timeline/timeline-body.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/gui/widgets/timeline/timeline-body.cpp b/src/gui/widgets/timeline/timeline-body.cpp index 3bee2110f..3be2af378 100644 --- a/src/gui/widgets/timeline/timeline-body.cpp +++ b/src/gui/widgets/timeline/timeline-body.cpp @@ -306,6 +306,15 @@ TimelineBody::on_state_changed (shared_ptr newState) { REQUIRE (newState); timelineState = newState; + if(timelineState) + { + // Connect up some events + viewWindow().changed_signal().connect( + sigc::mem_fun(this, &TimelineBody::on_update_view) ); + } + + // Redraw + queue_draw(); } void