mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 09:42:46 +02:00
DockedFormEditor: fixed compilation with FPC 3.3.1, hint by Peacoor, issue #40427
This commit is contained in:
parent
357928192e
commit
f904aa53b5
@ -277,7 +277,7 @@ end;
|
||||
|
||||
procedure TAnchorControl.CreateCaption;
|
||||
begin
|
||||
if not FRootControl.Name.IsEmpty then
|
||||
if Length(FRootControl.Name) > 0 then
|
||||
Caption := FRootControl.Name
|
||||
else
|
||||
Caption := FRootControl.ClassName;
|
||||
|
Loading…
Reference in New Issue
Block a user