mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 12:16:18 +02:00
SpartaDockedFormEditor: Fixed always disable actions for controls: Issue #31479
git-svn-id: trunk@54341 -
This commit is contained in:
parent
cecf8d4c7a
commit
62155bcd28
@ -1740,7 +1740,7 @@ procedure TCustomForm.UpdateActions;
|
||||
i: Integer;
|
||||
CurControl: TControl;
|
||||
begin
|
||||
if not Container.Showing then exit;
|
||||
if not Container.Showing or (csDesigning in Container.ComponentState) then exit;
|
||||
//DebugLn(['RecursiveInitiate ',DbgSName(Container)]);
|
||||
for i := 0 to Container.ControlCount - 1 do begin
|
||||
CurControl := Container.Controls[i];
|
||||
|
Loading…
Reference in New Issue
Block a user