mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:59:06 +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;
|
OldOnChange: TTVChangedEvent;
|
||||||
begin
|
begin
|
||||||
if (Destination=nil)
|
if (Destination=nil)
|
||||||
and (Mode in [naAddChild,naAddChildFirst,naInsert,naInsertBehind]) then
|
and not(Mode in [naAdd,naAddFirst]) then
|
||||||
TreeNodeError('TTreeNode.MoveTo Destination=nil');
|
TreeNodeError('TTreeNode.MoveTo Destination=nil');
|
||||||
if Mode=naInsertBehind then begin
|
if Mode=naInsertBehind then begin
|
||||||
// convert naInsertBehind
|
// convert naInsertBehind
|
||||||
|
Loading…
Reference in New Issue
Block a user