Bind VideoContext::OnFileSave to the file save signal rather than the commit signal

Originally committed to SVN as r5568.
This commit is contained in:
Thomas Goyne 2011-08-27 06:42:03 +00:00
parent b14b2eceea
commit e12bcc6aef

View file

@ -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) {