mirror of https://github.com/odrling/Aegisub
Bind VideoContext::OnFileSave to the file save signal rather than the commit signal
Originally committed to SVN as r5568.
This commit is contained in:
parent
b14b2eceea
commit
e12bcc6aef
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue