mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 00:00:16 +02:00
IDE: designer: fixed change parent for TControl
git-svn-id: trunk@44508 -
This commit is contained in:
parent
2a1f15b8f5
commit
57685b5e28
@ -3873,8 +3873,8 @@ var
|
||||
while i>=0 do
|
||||
begin
|
||||
CurSelected:=ControlSelection[i];
|
||||
if CurSelected.IsTWinControl
|
||||
and (TWinControl(CurSelected.Persistent).Owner=LookupRoot)
|
||||
if CurSelected.IsTControl
|
||||
and (TControl(CurSelected.Persistent).Owner=LookupRoot)
|
||||
then
|
||||
// this one can be moved
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user