mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-24 06:19:47 +01:00
IDEIntf: fixed TIDESpecialCommand.GetCaption using command.localizedname
git-svn-id: trunk@54427 -
This commit is contained in:
parent
241fadfdf9
commit
5eefc140b7
@ -1634,6 +1634,8 @@ function TIDESpecialCommand.GetCaption: string;
|
|||||||
begin
|
begin
|
||||||
if FCaption<>'' then
|
if FCaption<>'' then
|
||||||
Result:=FCaption
|
Result:=FCaption
|
||||||
|
else if (FCommand<>nil) and (FCommand.LocalizedName<>'') then
|
||||||
|
Result:=FCommand.LocalizedName
|
||||||
else
|
else
|
||||||
Result:=FName;
|
Result:=FName;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user