mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-21 00:20:04 +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
|
||||
if FCaption<>'' then
|
||||
Result:=FCaption
|
||||
else if (FCommand<>nil) and (FCommand.LocalizedName<>'') then
|
||||
Result:=FCommand.LocalizedName
|
||||
else
|
||||
Result:=FName;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user