[chore:] if it happens it happens

This commit is contained in:
2026-04-27 13:07:22 +02:00
parent de2f453553
commit 80d1498cc7
+5 -1
View File
@@ -52,7 +52,11 @@ public partial class EditorWindow : Window
{
var result = await MessageBox.Show(null, "Sicher?", "Sicher?", MessageBoxButton.YesNo);
if (result == MessageBoxResult.No) return;
File.Delete(filename);
try
{
File.Delete(filename);
} catch {}
MainWindow._instance.PopulateNavTree();
Close();
}