mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Bug [0000045] "Cannot use Ctrl-Right when 'Feed to listbox'"
This commit is contained in:
parent
5b346ec850
commit
bca125bd7a
1 changed files with 12 additions and 1 deletions
|
|
@ -393,7 +393,18 @@ begin
|
|||
aFile := SourcePage.FileView.CloneActiveFile;
|
||||
if Assigned(aFile) then
|
||||
try
|
||||
if aFile.IsDirectory then
|
||||
if (fspLinksToLocalFiles in SourcePage.FileView.FileSource.GetProperties) and
|
||||
(SourcePage.FileView.FileSource.GetLocalName(aFile)) then
|
||||
begin
|
||||
if aFile.IsDirectory then
|
||||
ChooseFileSource(TargetPage.FileView, aFile.FullPath)
|
||||
else if not ChooseFileSource(TargetPage.FileView, aFile) then
|
||||
begin
|
||||
ChooseFileSource(TargetPage.FileView, aFile.Path);
|
||||
TargetPage.FileView.SetActiveFile(aFile.Name);
|
||||
end;
|
||||
end
|
||||
else if aFile.IsDirectory then
|
||||
begin
|
||||
if aFile.Name = '..' then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue