mirror of https://github.com/odrling/Aegisub
Fixed crash in translation assistant
Originally committed to SVN as r752.
This commit is contained in:
parent
bae00f3734
commit
08ff09ee59
|
@ -181,7 +181,7 @@ bool DialogTranslation::JumpToLine(int n,int block) {
|
||||||
wxTextAttr Normal(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
wxTextAttr Normal(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
||||||
wxTextAttr Highlight(wxColour(0,0,255));
|
wxTextAttr Highlight(wxColour(0,0,255));
|
||||||
wxFont font = Normal.GetFont();
|
wxFont font = Normal.GetFont();
|
||||||
font.SetPointSize(Options.AsInt(_T("Font Size")));
|
font.SetPointSize(Options.AsInt(_T("Edit Font Size")));
|
||||||
Normal.SetFont(font);
|
Normal.SetFont(font);
|
||||||
Highlight.SetFont(font);
|
Highlight.SetFont(font);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue