Ver código fonte

FIX: Copy/Cut to clipboard from search results

Alexander Koblov 11 anos atrás
pai
commit
ec8ec7dfce
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/umaincommands.pas

+ 2 - 2
src/umaincommands.pas

@@ -2784,14 +2784,14 @@ begin
   Result := False;
 
   with frmMain.ActiveFrame do
-  if FileSource.IsClass(TFileSystemFileSource) then
+  if (fspDirectAccess in FileSource.Properties) then
   begin
     sl := TStringList.Create;
     try
       theSelectedFiles := CloneSelectedOrActiveFiles;
 
       for i := 0 to theSelectedFiles.Count - 1 do
-        sl.Add(CurrentPath + theSelectedFiles[i].Name);
+        sl.Add(theSelectedFiles[i].FullPath);
 
       case ClipboardMode of
         uClipboard.ClipboardCut: