Don't add path to history if it's just a refresh

dhcp-server
Pat Hartl 2023-09-10 17:13:10 -05:00
parent 8475a683dd
commit a7ddfb8ae6
1 changed files with 2 additions and 1 deletions

View File

@ -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;