Skip to content

Commit 932dac7

Browse files
committed
Fix inability to initialize cmbCurrentFontFamily.
1 parent 9fe1ccb commit 932dac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v2rayN/v2rayN/Views/OptionSettingWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public OptionSettingWindow()
9191
});
9292

9393
LoadFontsAsync(); //If there are many font files, opening the OptionSettingWindow will noticeably lag. The font loading logic can be changed to execute asynchronously.
94+
cmbcurrentFontFamily.Items.Add(string.Empty);
9495

9596
this.WhenActivated(disposables =>
9697
{

0 commit comments

Comments
 (0)