mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001046] "Access Violation Error"
This commit is contained in:
parent
6500ea3e54
commit
196103ca0a
1 changed files with 2 additions and 2 deletions
|
|
@ -362,9 +362,9 @@ var
|
|||
Index:longint;
|
||||
DestinationNode:TTreeNode;
|
||||
begin
|
||||
DestinationNode:=tvDirectoryHotlist.GetNodeAt(X, Y);
|
||||
DestinationNode:= tvDirectoryHotlist.GetNodeAt(X, Y);
|
||||
|
||||
if tvDirectoryHotlist.SelectionCount>0 then
|
||||
if Assigned(DestinationNode) and (tvDirectoryHotlist.SelectionCount > 0) then
|
||||
begin
|
||||
//If we move toward the end, we place the moved item *after* the destination.
|
||||
//If we move toward the beginning, we place the moved item *before* the destination.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue