forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ void VideoContext::Reset() {
|
||||||
void VideoContext::SetContext(agi::Context *context) {
|
void VideoContext::SetContext(agi::Context *context) {
|
||||||
this->context = context;
|
this->context = context;
|
||||||
context->ass->AddCommitListener(&VideoContext::OnSubtitlesCommit, this);
|
context->ass->AddCommitListener(&VideoContext::OnSubtitlesCommit, this);
|
||||||
context->ass->AddCommitListener(&VideoContext::OnSubtitlesSave, this);
|
context->ass->AddFileSaveListener(&VideoContext::OnSubtitlesSave, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoContext::SetVideo(const wxString &filename) {
|
void VideoContext::SetVideo(const wxString &filename) {
|
||||||
|
|
Loading…
Reference in a new issue