IDE: package editor: show version in title

git-svn-id: trunk@47620 -
This commit is contained in:
mattias 2015-02-07 10:29:10 +00:00
parent 73bc543103
commit 7a53d091b9

View File

@ -2213,9 +2213,11 @@ end;
procedure TPackageEditorForm.UpdateTitle(Immediately: boolean);
var
NewCaption: String;
s: string;
begin
if not CanUpdate(pefNeedUpdateTitle,Immediately) then exit;
NewCaption:=Format(lisPckEditPackage, [FLazPackage.Name]);
s:=FLazPackage.Name+' V'+FLazPackage.Version.AsString;
NewCaption:=Format(lisPckEditPackage, [s]);
if LazPackage.Modified then
NewCaption:=NewCaption+'*';
Caption:=NewCaption;