forked from mia/Aegisub
Oops, r3045 caused crashing issues when closing the translation assistant again. Fixed the crash without having to revert the fix for the memory leaks again.
Originally committed to SVN as r3047.
This commit is contained in:
parent
8cfb941a3c
commit
5d010113f0
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ DialogTranslation::DialogTranslation (wxWindow *parent,AssFile *_subs,SubtitlesG
|
||||||
KeysInnerSizer->Add(new wxStaticText(this,-1,_("Play Audio")));
|
KeysInnerSizer->Add(new wxStaticText(this,-1,_("Play Audio")));
|
||||||
PreviewCheck = new wxCheckBox(this,PREVIEW_CHECK,_("Enable preview"));
|
PreviewCheck = new wxCheckBox(this,PREVIEW_CHECK,_("Enable preview"));
|
||||||
PreviewCheck->SetValue(preview);
|
PreviewCheck->SetValue(preview);
|
||||||
PreviewCheck->SetEventHandler(new DialogTranslationEvent(this));
|
PreviewCheck->PushEventHandler(new DialogTranslationEvent(this));
|
||||||
KeysSizer->Add(KeysInnerSizer,0,wxEXPAND,0);
|
KeysSizer->Add(KeysInnerSizer,0,wxEXPAND,0);
|
||||||
KeysSizer->Add(PreviewCheck,0,wxTOP,5);
|
KeysSizer->Add(PreviewCheck,0,wxTOP,5);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue