FIX: Clicking on a drive goes always to root

This commit is contained in:
Alexander Koblov 2015-04-05 13:04:39 +00:00
commit 62fccbdba8

View file

@ -5418,6 +5418,7 @@ begin
mbCompareFileNames(ExtractRootDir(OtherFileView.CurrentPath), ExcludeTrailingPathDelimiter(Drive^.Path)) and
not mbCompareFileNames(OtherFileView.CurrentPath, aFileView.CurrentPath) and not gGoToRoot then
begin
FoundPath:= True;
SetFileSystemPath(aFileView, OtherFileView.CurrentPath);
end
// Open latest path from history for chosen drive