mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 14:37:48 +02:00
LCL, do not check for default grid's column title, issue #16845
git-svn-id: trunk@27320 -
This commit is contained in:
parent
c3c3c6425c
commit
a1fc7a7bee
@ -9725,9 +9725,7 @@ procedure TGridColumnTitle.SetCaption(const AValue: TCaption);
|
||||
begin
|
||||
if (FCaption=nil)or(AValue<>FCaption^) then begin
|
||||
if FCaption<>nil then
|
||||
StrDispose(FCaption)
|
||||
else if (AValue=GetDefaultCaption) then
|
||||
exit;
|
||||
StrDispose(FCaption);
|
||||
FCaption := StrNew(PChar(AValue));
|
||||
FColumn.ColumnChanged;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user