FIX: Drag&Drop - restore selection of active file when start drag with control key pressed

(cherry picked from commit d98d27d833)
This commit is contained in:
Alexander Koblov 2023-09-14 20:39:25 +03:00
commit 961efff810

View file

@ -1054,7 +1054,7 @@ begin
begin
MainControl.BeginDrag(False);
// Restore selection of active file
if not AFile.Selected then MarkFile(AFile, True);
if (FSelectedCount > 0) and (not AFile.Selected) then MarkFile(AFile, True);
end;
end;
end;