mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 13:50:06 +02:00
IDE: changing control selection to another lookuproot: update hook.lookuproot
git-svn-id: trunk@37917 -
This commit is contained in:
parent
e54706e814
commit
cb8750c0e9
@ -14920,6 +14920,8 @@ begin
|
|||||||
if (TheControlSelection=nil) or (FormEditor1=nil) then exit;
|
if (TheControlSelection=nil) or (FormEditor1=nil) then exit;
|
||||||
if OldForm<>nil then
|
if OldForm<>nil then
|
||||||
OldForm.Invalidate;
|
OldForm.Invalidate;
|
||||||
|
if TheControlSelection.LookupRoot<>nil then
|
||||||
|
GlobalDesignHook.LookupRoot:=TheControlSelection.LookupRoot;
|
||||||
if NewForm<>nil then
|
if NewForm<>nil then
|
||||||
NewForm.Invalidate;
|
NewForm.Invalidate;
|
||||||
UpdateIDEComponentPalette;
|
UpdateIDEComponentPalette;
|
||||||
|
Loading…
Reference in New Issue
Block a user