IDEIntf: fixed TIDESpecialCommand.GetCaption using command.localizedname

git-svn-id: trunk@54427 -
This commit is contained in:
mattias 2017-03-17 07:25:17 +00:00
parent 241fadfdf9
commit 5eefc140b7

View File

@ -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;