From 80d1498cc7a4b68c73a52a0742c2ea7f93e1bf39 Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Mon, 27 Apr 2026 13:07:22 +0200 Subject: [PATCH] [chore:] if it happens it happens --- Wiki/EditorWindow.axaml.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Wiki/EditorWindow.axaml.cs b/Wiki/EditorWindow.axaml.cs index 916e46e..5353f97 100644 --- a/Wiki/EditorWindow.axaml.cs +++ b/Wiki/EditorWindow.axaml.cs @@ -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(); }