mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 19:38:09 +02:00
parent
2710107266
commit
53b49c7086
@ -267,7 +267,10 @@ procedure TCustomBitBtn.Loaded;
|
||||
begin
|
||||
inherited Loaded;
|
||||
if (Kind <> bkCustom) and DefaultCaption and (Caption = '') then
|
||||
Caption := GetCaptionOfKind(Kind);
|
||||
begin
|
||||
Caption := GetCaptionOfKind(Kind); // Will trigger TextChanged
|
||||
DefaultCaption := True;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCustomBitBtn.TextChanged;
|
||||
|
Loading…
Reference in New Issue
Block a user