Skip to content

Commit

Permalink
添加jpg、ico格式的自定义图标支持
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiinaRinne authored Jan 2, 2024
1 parent 2ca34fb commit d967033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2rayN/v2rayN/Views/RoutingRuleSettingWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ private void menuRuleSelectAll_Click(object sender, System.Windows.RoutedEventAr
private void btnBrowse_Click(object sender, System.Windows.RoutedEventArgs e)
{
var openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "PNG|*.png";
openFileDialog1.Filter = "PNG,JPG,ICO|*.png;*.jpg;*.ico";
openFileDialog1.ShowDialog();

txtCustomIcon.Text = openFileDialog1.FileName;
}
}
}
}

0 comments on commit d967033

Please sign in to comment.