Skip to content

Commit

Permalink
Corectly version display on titlebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kisspeace committed Dec 31, 2022
1 parent 897edb5 commit 6a265e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/Unit1.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2522,8 +2522,10 @@ procedure TForm1.FormCreate(Sender: TObject);
end else begin
TThread.Synchronize(Nil, procedure begin
{$IFDEF MSWINDOWS}
if Settings.UseNewAppTitlebar then
TitleBar.BtnTitle.Text.Text := TitleBar.BtnTitle.Text.Text + ' ( current )';
if Settings.UseNewAppTitlebar and ( LastVer = APP_VERSION ) then
TitleBar.BtnTitle.Text.Text := TitleBar.BtnTitle.Text.Text + ' ( current )'
else
TitleBar.BtnTitle.Text.Text := TitleBar.BtnTitle.Text.Text + ' ( higher )';
{$ENDIF}
end);
end;
Expand Down

0 comments on commit 6a265e9

Please sign in to comment.