mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 02:29:26 +02:00
LCL: small treeview code simplification by Flávio Etrusco, bug #19859
git-svn-id: trunk@31847 -
This commit is contained in:
parent
48f40ebb52
commit
e705d42b04
@ -1360,7 +1360,7 @@ var
|
||||
OldOnChange: TTVChangedEvent;
|
||||
begin
|
||||
if (Destination=nil)
|
||||
and (Mode in [naAddChild,naAddChildFirst,naInsert,naInsertBehind]) then
|
||||
and not(Mode in [naAdd,naAddFirst]) then
|
||||
TreeNodeError('TTreeNode.MoveTo Destination=nil');
|
||||
if Mode=naInsertBehind then begin
|
||||
// convert naInsertBehind
|
||||
|
Loading…
Reference in New Issue
Block a user