Don't add path to history if it's just a refresh
This commit is contained in:
parent
8475a683dd
commit
a7ddfb8ae6
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@
|
|||
|
||||
void ChangeDirectory(FileManagerDirectory directory, bool clearFuture)
|
||||
{
|
||||
Past.Add(Path);
|
||||
if (Path != null && directory.Path != Path.Path)
|
||||
Past.Add(Path);
|
||||
|
||||
Path = directory;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue