Skip to content

Commit

Permalink
Merge pull request #4567 from ShiinaRinne/patch-2
Browse files Browse the repository at this point in the history
添加ico格式的自定义图标支持
  • Loading branch information
2dust authored Jan 3, 2024
2 parents 784928f + 78625d8 commit ee416b1
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,ICO|*.png;*.ico";
openFileDialog1.ShowDialog();

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

0 comments on commit ee416b1

Please sign in to comment.