mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 16:19:46 +02:00
Merged revision(s) 55433 #658713d714 from trunk:
Sparta_DockedFormEditor: Fixed drawing of MainMenu after adding the first MenuItem. Issue #31206 ........ git-svn-id: branches/fixes_1_8@55469 -
This commit is contained in:
parent
aa4d6f264c
commit
7dc324bf23
@ -923,11 +923,15 @@ begin
|
||||
end;
|
||||
|
||||
procedure TBasicResizeFrame.AppOnIdle(Sender: TObject; var Done: Boolean);
|
||||
var
|
||||
aHasMainMenu: Boolean;
|
||||
begin
|
||||
if FDesignerModified then
|
||||
begin
|
||||
if FOldHasMainMenu <> HasMainMenu then
|
||||
aHasMainMenu := HasMainMenu;
|
||||
if aHasMainMenu <> FOldHasMainMenu then
|
||||
begin
|
||||
FOldHasMainMenu := aHasMainMenu;
|
||||
TryBoundDesignedForm;
|
||||
if Assigned(OnNodePositioning) then
|
||||
OnNodePositioning(Self, [pkBottom], pcPositioningEnd);
|
||||
@ -1031,8 +1035,6 @@ begin
|
||||
pClient.Width := Width - pClient.Left - Max(Width - (pR.Left - BgRightMargin), 0);
|
||||
end;
|
||||
|
||||
FOldHasMainMenu := HasMainMenu;
|
||||
|
||||
for Node := 0 to 7 do
|
||||
begin
|
||||
with AroundControl do
|
||||
|
Loading…
Reference in New Issue
Block a user