From 2bd33541c1f2d15abc415004e0cad9d90771d25d Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 16 Jul 2008 12:10:00 +0000 Subject: [PATCH] Fix #745 by explicitly setting the font name combo box value after filling it Originally committed to SVN as r2264. --- aegisub/dialog_style_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/dialog_style_editor.cpp b/aegisub/dialog_style_editor.cpp index 6f37c49dd..b537810ce 100644 --- a/aegisub/dialog_style_editor.cpp +++ b/aegisub/dialog_style_editor.cpp @@ -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());