mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:00:34 +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;
|
i: Integer;
|
||||||
CurControl: TControl;
|
CurControl: TControl;
|
||||||
begin
|
begin
|
||||||
if not Container.Showing then exit;
|
if not Container.Showing or (csDesigning in Container.ComponentState) then exit;
|
||||||
//DebugLn(['RecursiveInitiate ',DbgSName(Container)]);
|
//DebugLn(['RecursiveInitiate ',DbgSName(Container)]);
|
||||||
for i := 0 to Container.ControlCount - 1 do begin
|
for i := 0 to Container.ControlCount - 1 do begin
|
||||||
CurControl := Container.Controls[i];
|
CurControl := Container.Controls[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user