mirror of https://github.com/odrling/Aegisub
Fix #745 by explicitly setting the font name combo box value after filling it
Originally committed to SVN as r2264.
This commit is contained in:
parent
624eb825a7
commit
2bd33541c1
|
@ -205,6 +205,7 @@ DialogStyleEditor::DialogStyleEditor (wxWindow *parent, AssStyle *_style, Subtit
|
||||||
for (size_t i = 0; i < fontList.size(); i++) {
|
for (size_t i = 0; i < fontList.size(); i++) {
|
||||||
FontName->Append(fontList[i]);
|
FontName->Append(fontList[i]);
|
||||||
}
|
}
|
||||||
|
FontName->SetValue(style->font);
|
||||||
FontName->Thaw();
|
FontName->Thaw();
|
||||||
wxLogDebug(_T("Time to fill font face listbox: %d"), performance_timer.Time());
|
wxLogDebug(_T("Time to fill font face listbox: %d"), performance_timer.Time());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue