mirror of https://github.com/odrling/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
|
@ -114,7 +114,7 @@ DialogTranslation::DialogTranslation (wxWindow *parent,AssFile *_subs,SubtitlesG
|
|||
KeysInnerSizer->Add(new wxStaticText(this,-1,_("Play Audio")));
|
||||
PreviewCheck = new wxCheckBox(this,PREVIEW_CHECK,_("Enable preview"));
|
||||
PreviewCheck->SetValue(preview);
|
||||
PreviewCheck->SetEventHandler(new DialogTranslationEvent(this));
|
||||
PreviewCheck->PushEventHandler(new DialogTranslationEvent(this));
|
||||
KeysSizer->Add(KeysInnerSizer,0,wxEXPAND,0);
|
||||
KeysSizer->Add(PreviewCheck,0,wxTOP,5);
|
||||
|
||||
|
|
Loading…
Reference in New Issue