diff --git a/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml.cs b/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml.cs index 43f817cb..254cf24b 100644 --- a/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml.cs +++ b/v2rayN/v2rayN.Desktop/Views/OptionSettingWindow.axaml.cs @@ -155,14 +155,8 @@ public partial class OptionSettingWindow : WindowBase { var lstFonts = await GetFonts(); - lstFonts.Insert(0, string.Empty); + lstFonts.Add(string.Empty); cmbcurrentFontFamily.ItemsSource = lstFonts; - - if (ViewModel?.CurrentFontFamily.IsNullOrEmpty() == true) - { - cmbcurrentFontFamily.SelectedIndex = 0; - cmbcurrentFontFamily.Text = string.Empty; - } } private async Task> GetFonts()