mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: replace with CurrentRealPath() for better compatibility with various FileSources in UpdatePrompt()
This commit is contained in:
parent
32a3016ee0
commit
a3b021ee76
1 changed files with 3 additions and 3 deletions
|
|
@ -6976,7 +6976,7 @@ begin
|
|||
with lblCommandPath do
|
||||
begin
|
||||
Visible := True;
|
||||
st := ExcludeTrailingBackslash(ActiveFrame.CurrentPath);
|
||||
st := ExcludeTrailingBackslash(ActiveFrame.CurrentRealPath);
|
||||
Hint := st;
|
||||
|
||||
Caption := MinimizeFilePath(Format(fmtCommandPath, [st]),
|
||||
|
|
@ -6987,7 +6987,7 @@ begin
|
|||
if (fspDirectAccess in ActiveFrame.FileSource.GetProperties) then
|
||||
begin
|
||||
if gTermWindow and Assigned(Cons) then
|
||||
Cons.SetCurrentDir(ActiveFrame.CurrentPath);
|
||||
Cons.SetCurrentDir(ActiveFrame.CurrentRealPath);
|
||||
end;
|
||||
|
||||
edtCommand.Visible := True;
|
||||
|
|
@ -7001,7 +7001,7 @@ begin
|
|||
Properties := ActiveFrame.FileSource.GetProperties;
|
||||
if (fspDirectAccess in Properties) and not (fspLinksToLocalFiles in Properties) then
|
||||
begin
|
||||
mbSetCurrentDir(ActiveFrame.CurrentPath);
|
||||
mbSetCurrentDir(ActiveFrame.CurrentRealPath);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue