mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 02:49:06 +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
|
begin
|
||||||
if (FCaption=nil)or(AValue<>FCaption^) then begin
|
if (FCaption=nil)or(AValue<>FCaption^) then begin
|
||||||
if FCaption<>nil then
|
if FCaption<>nil then
|
||||||
StrDispose(FCaption)
|
StrDispose(FCaption);
|
||||||
else if (AValue=GetDefaultCaption) then
|
|
||||||
exit;
|
|
||||||
FCaption := StrNew(PChar(AValue));
|
FCaption := StrNew(PChar(AValue));
|
||||||
FColumn.ColumnChanged;
|
FColumn.ColumnChanged;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user