From bc35e2337e38c7c5ea29abc4ee851234c353b3a1 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Sun, 10 Sep 2023 17:13:26 -0500 Subject: [PATCH] Utilize ChangeDirectory on nav controls --- .../Components/FileManagerComponents/FileManager.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LANCommander/Components/FileManagerComponents/FileManager.razor b/LANCommander/Components/FileManagerComponents/FileManager.razor index 2db62bd..e98fd99 100644 --- a/LANCommander/Components/FileManagerComponents/FileManager.razor +++ b/LANCommander/Components/FileManagerComponents/FileManager.razor @@ -302,7 +302,7 @@ if (Past.Count > 0) { Future.Add(Path); - Path = Past.Last(); + ChangeDirectory(Past.Last(), false); Past = Past.Take(Past.Count - 1).ToList(); } } @@ -312,7 +312,7 @@ if (Future.Count > 0) { Past.Add(Path); - Path = Future.First(); + ChangeDirectory(Future.First(), false); Future = Future.Skip(1).ToList(); } }