FIX: Copy/Cut to clipboard from search results

This commit is contained in:
Alexander Koblov 2014-07-17 03:10:09 +00:00
commit ec8ec7dfce

View file

@ -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: