mirror of
https://github.com/2dust/v2rayN.git
synced 2026-05-30 01:34:08 +00:00
Update OptionSettingWindow.axaml.cs
This commit is contained in:
parent
896938b5e6
commit
f47fafe1fa
1 changed files with 1 additions and 7 deletions
|
|
@ -155,14 +155,8 @@ public partial class OptionSettingWindow : WindowBase<OptionSettingViewModel>
|
|||
{
|
||||
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<List<string>> GetFonts()
|
||||
|
|
|
|||
Loading…
Reference in a new issue