mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 07:37:27 +01:00
IDE: package editor: show version in title
git-svn-id: trunk@47620 -
This commit is contained in:
parent
73bc543103
commit
7a53d091b9
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user