From e12bcc6aef9cb92b5a8132704148c1f41904f75b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 27 Aug 2011 06:42:03 +0000 Subject: [PATCH] Bind VideoContext::OnFileSave to the file save signal rather than the commit signal Originally committed to SVN as r5568. --- aegisub/src/video_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_context.cpp b/aegisub/src/video_context.cpp index f18f334ea..0f692a985 100644 --- a/aegisub/src/video_context.cpp +++ b/aegisub/src/video_context.cpp @@ -152,7 +152,7 @@ void VideoContext::Reset() { void VideoContext::SetContext(agi::Context *context) { this->context = context; context->ass->AddCommitListener(&VideoContext::OnSubtitlesCommit, this); - context->ass->AddCommitListener(&VideoContext::OnSubtitlesSave, this); + context->ass->AddFileSaveListener(&VideoContext::OnSubtitlesSave, this); } void VideoContext::SetVideo(const wxString &filename) {