mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: TransferLeft and Right commands do not work with folder symbolic links (fixes #2308)
This commit is contained in:
parent
52fed0fea1
commit
5fc4cb2e0c
1 changed files with 2 additions and 2 deletions
|
|
@ -864,7 +864,7 @@ begin
|
|||
if (fspLinksToLocalFiles in SourcePage.FileView.FileSource.GetProperties) and
|
||||
(SourcePage.FileView.FileSource.GetLocalName(aFile)) then
|
||||
begin
|
||||
if aFile.IsDirectory then
|
||||
if aFile.IsDirectory or aFile.IsLinkToDirectory then
|
||||
ChooseFileSource(TargetPage.FileView, aFile.FullPath)
|
||||
else if not ChooseFileSource(TargetPage.FileView, TargetPage.FileView.FileSource, aFile) then
|
||||
begin
|
||||
|
|
@ -872,7 +872,7 @@ begin
|
|||
TargetPage.FileView.SetActiveFile(aFile.Name);
|
||||
end;
|
||||
end
|
||||
else if aFile.IsDirectory then
|
||||
else if aFile.IsDirectory or aFile.IsLinkToDirectory then
|
||||
begin
|
||||
if aFile.Name = '..' then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue