diff --git a/v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml.cs b/v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml.cs index 8bfe704b..39b8556e 100644 --- a/v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml.cs +++ b/v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml.cs @@ -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; } } -} \ No newline at end of file +}