From d282b425c09fae76cacc4a9d73ba7864db1045e9 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 31 Dec 2010 23:53:42 +0000 Subject: [PATCH] Update the audio display when keyframes are loaded/unloaded Originally committed to SVN as r5086. --- aegisub/src/audio_controller.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aegisub/src/audio_controller.cpp b/aegisub/src/audio_controller.cpp index fc5b8a9f1..5cde9b785 100644 --- a/aegisub/src/audio_controller.cpp +++ b/aegisub/src/audio_controller.cpp @@ -148,6 +148,8 @@ AudioController::AudioController() Bind(wxEVT_POWER_SUSPENDED, &AudioController::OnComputerSuspending, this); Bind(wxEVT_POWER_RESUME, &AudioController::OnComputerResuming, this); #endif + + keyframes_marker_provider->AddMarkerMovedListener(std::tr1::bind(std::tr1::ref(AnnounceMarkerMoved))); }