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:
Niels Martin Hansen 2008-07-16 12:10:00 +00:00
parent 624eb825a7
commit 2bd33541c1
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ DialogStyleEditor::DialogStyleEditor (wxWindow *parent, AssStyle *_style, Subtit
for (size_t i = 0; i < fontList.size(); i++) {
FontName->Append(fontList[i]);
}
FontName->SetValue(style->font);
FontName->Thaw();
wxLogDebug(_T("Time to fill font face listbox: %d"), performance_timer.Time());