mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
Designer: Keep "Anchor Editor" and "Tab Order" items always enabled in the popup menu. Issue #40745, patch by n7800.
This commit is contained in:
parent
07941a617c
commit
311ba77757
@ -4059,8 +4059,6 @@ begin
|
||||
DesignerMenuSize.Enabled := CompsAreSelected and not OnlyNonVisualsAreSelected;
|
||||
DesignerMenuReset.Enabled := HasAncestorComponent;
|
||||
|
||||
DesignerMenuAnchorEditor.Enabled := (FLookupRoot is TWinControl) and (TWinControl(FLookupRoot).ControlCount > 0);
|
||||
DesignerMenuTabOrder.Enabled := (FLookupRoot is TWinControl) and (TWinControl(FLookupRoot).ControlCount > 0);
|
||||
DesignerMenuSectionZOrder.Enabled := CompsAreSelected and not OnlyNonVisualsAreSelected;
|
||||
DesignerMenuOrderMoveToFront.Enabled := OneControlSelected and not OnlyNonVisualsAreSelected;
|
||||
DesignerMenuOrderMoveToBack.Enabled := OneControlSelected and not OnlyNonVisualsAreSelected;
|
||||
|
Loading…
Reference in New Issue
Block a user