mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 12:35:55 +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 OldForm<>nil then
|
||||
OldForm.Invalidate;
|
||||
if TheControlSelection.LookupRoot<>nil then
|
||||
GlobalDesignHook.LookupRoot:=TheControlSelection.LookupRoot;
|
||||
if NewForm<>nil then
|
||||
NewForm.Invalidate;
|
||||
UpdateIDEComponentPalette;
|
||||
|
Loading…
Reference in New Issue
Block a user