Skip to content

Commit 031d78c

Browse files
committed
RecycleFile now only shows error dialogs
1 parent 289c1a7 commit 031d78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Graphical-Photo-Organizer/GPO.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ private static void RecycleFile(string path)
364364
{
365365
GC.Collect();
366366
GC.WaitForPendingFinalizers();
367-
FileSystem.DeleteFile(path, UIOption.AllDialogs, RecycleOption.SendToRecycleBin); //https://stackoverflow.com/a/3282456
367+
FileSystem.DeleteFile(path, UIOption.OnlyErrorDialogs, RecycleOption.SendToRecycleBin); //https://stackoverflow.com/a/3282456
368368
}
369369

370370
private void resetBtn_Click(object sender, RoutedEventArgs e)

0 commit comments

Comments
 (0)