mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0000664]
This commit is contained in:
parent
9c80c19e64
commit
c10c2eaea6
1 changed files with 21 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ type
|
|||
implementation
|
||||
|
||||
uses
|
||||
Forms, Controls, DCOSUtils, uOSUtils;
|
||||
Forms, Controls, DCOSUtils, uOSUtils, uOSForms, uShellContextMenu, uExceptions;
|
||||
|
||||
constructor TFileSystemExecuteOperation.Create(
|
||||
aTargetFileSource: IFileSource;
|
||||
|
|
@ -58,7 +58,27 @@ begin
|
|||
end;
|
||||
|
||||
procedure TFileSystemExecuteOperation.MainExecute;
|
||||
var
|
||||
aFiles: TFiles;
|
||||
begin
|
||||
if Verb = 'properties' then
|
||||
begin
|
||||
FExecuteOperationResult:= fseorSuccess;
|
||||
aFiles:= TFiles.Create(ExecutableFile.Path);
|
||||
try
|
||||
aFiles.Add(ExecutableFile.Clone);
|
||||
try
|
||||
Screen.Cursor:= crDefault;
|
||||
ShowFilePropertiesDialog(FFileSystemFileSource, aFiles);
|
||||
except
|
||||
on E: EContextMenuException do
|
||||
ShowException(E);
|
||||
end;
|
||||
finally
|
||||
FreeAndNil(aFiles);
|
||||
end;
|
||||
Exit;
|
||||
end;
|
||||
// if file is link to folder then return fseorSymLink
|
||||
if FileIsLinkToFolder(AbsolutePath, FResultString) then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue