Utilize ChangeDirectory on nav controls
This commit is contained in:
parent
a7ddfb8ae6
commit
bc35e2337e
1 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@
|
||||||
if (Past.Count > 0)
|
if (Past.Count > 0)
|
||||||
{
|
{
|
||||||
Future.Add(Path);
|
Future.Add(Path);
|
||||||
Path = Past.Last();
|
ChangeDirectory(Past.Last(), false);
|
||||||
Past = Past.Take(Past.Count - 1).ToList();
|
Past = Past.Take(Past.Count - 1).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -312,7 +312,7 @@
|
||||||
if (Future.Count > 0)
|
if (Future.Count > 0)
|
||||||
{
|
{
|
||||||
Past.Add(Path);
|
Past.Add(Path);
|
||||||
Path = Future.First();
|
ChangeDirectory(Future.First(), false);
|
||||||
Future = Future.Skip(1).ToList();
|
Future = Future.Skip(1).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue