Merge pull request #4567 from ShiinaRinne/patch-2

添加ico格式的自定义图标支持
pull/4594/head
2dust 2024-01-03 20:06:54 +08:00 committed by GitHub
commit ee416b1bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,10 +132,10 @@ namespace v2rayN.Views
private void btnBrowse_Click(object sender, System.Windows.RoutedEventArgs e)
{
var openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "PNG|*.png";
openFileDialog1.Filter = "PNG,ICO|*.png;*.ico";
openFileDialog1.ShowDialog();
txtCustomIcon.Text = openFileDialog1.FileName;
}
}
}
}