mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Create shortcut only for real file system
This commit is contained in:
parent
5bbf172fef
commit
82548b2a01
1 changed files with 6 additions and 0 deletions
|
|
@ -454,6 +454,12 @@ var
|
|||
ShortcutName: String;
|
||||
SelectedFiles: TFiles;
|
||||
begin
|
||||
if not (frmMain.ActiveFrame.FileSource.IsClass(TFileSystemFileSource)) then
|
||||
begin
|
||||
msgWarning(rsMsgErrNotSupported);
|
||||
Exit;
|
||||
end;
|
||||
|
||||
SelectedFiles := frmMain.ActiveFrame.CloneSelectedOrActiveFiles;
|
||||
try
|
||||
if SelectedFiles.Count > 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue