Skip to content

Commit

Permalink
add: 处理掉不合法的字符
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Oct 27, 2023
1 parent c7e9a3d commit 5d75d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llcom/View/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ private void QuickSendImportButton_Click(object sender, RoutedEventArgs e)
private void QuickSendExportButton_Click(object sender, RoutedEventArgs e)
{
System.Windows.Forms.SaveFileDialog SaveFileDialog = new System.Windows.Forms.SaveFileDialog();
SaveFileDialog.FileName = QuickListPageTextBlock.Text;
SaveFileDialog.FileName = System.Text.RegularExpressions.Regex.Replace(QuickListPageTextBlock.Text, "[<>/\\|:\"?*]", "-");
SaveFileDialog.Filter = TryFindResource("QuickSendLLCOMFile") as string ?? "?!";
if (SaveFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
Expand Down

0 comments on commit 5d75d53

Please sign in to comment.