Skip to content

Commit 5a5c21b

Browse files
committed
Ensure Users Cannot Attempt to Access Deleted Folder Through Forward Navigation
1 parent cf7cc6b commit 5a5c21b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ItemInteractions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@ public static async void DeleteItem_Click(object sender, RoutedEventArgs e)
521521

522522
}
523523
NavigationActions.Refresh_Click(null, null);
524-
524+
History.ForwardList.Clear();
525+
ItemViewModel.FS.isEnabled = false;
525526
}
526527
catch (InvalidOperationException)
527528
{

0 commit comments

Comments
 (0)