mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Crash on external drop into empty part of panel.
This commit is contained in:
parent
041647cac0
commit
fe72daee04
1 changed files with 4 additions and 4 deletions
|
|
@ -3886,10 +3886,10 @@ begin
|
|||
Exit;
|
||||
end;
|
||||
|
||||
Node := GetNodeAt(ClientPoint.X, ClientPoint.Y);
|
||||
|
||||
// Get the item over which there is something dragged.
|
||||
AFile := GetNodeFile(Node);
|
||||
Node := GetNodeAt(ClientPoint.X, ClientPoint.Y);
|
||||
if Assigned(Node) then
|
||||
AFile := GetNodeFile(Node);
|
||||
|
||||
if Assigned(AFile) and
|
||||
(AFile.FSFile.IsDirectory or AFile.FSFile.IsLinkToDirectory) and
|
||||
|
|
@ -3907,7 +3907,7 @@ begin
|
|||
end;
|
||||
|
||||
function TColumnsDrawTree.OnExDrop(const FileNamesList: TStringList; DropEffect: TDropEffect;
|
||||
ScreenPoint: TPoint):Boolean;
|
||||
ScreenPoint: TPoint):Boolean;
|
||||
var
|
||||
Files: TFiles;
|
||||
DropParams: TDropParams;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue