Skip to content

Commit 73ebfa5

Browse files
author
DelphiDabbler
committed
Modified code that displays test server name in main window caption re changes to how test server is specified.
1 parent 2bac6ba commit 73ebfa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FmMain.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,8 +1402,8 @@ procedure TMainForm.InitForm;
14021402
// Set window caption
14031403
Application.Title := TAppInfo.ProgramCaption;
14041404
Caption := TAppInfo.ProgramCaption;
1405-
if TWebInfo.UsingLocalHost then
1406-
Caption := Caption + ' [' + TWebInfo.LocalHost + ']';
1405+
if TWebInfo.UsingTestServer then
1406+
Caption := Caption + ' [' + TWebInfo.TestServerHost + ']';
14071407

14081408
// Restore window settings
14091409
fWindowSettings := TMainWindowSettings.CreateStandAlone(Self); // auto-freed

0 commit comments

Comments
 (0)