hide in caption if hidden

This commit is contained in:
April Ayres-Griffiths 2019-04-18 18:23:07 +10:00
parent b15be38134
commit ca9cb0ef68
5 changed files with 7 additions and 2 deletions

View File

@ -3174,8 +3174,8 @@ end;
procedure TGUIForm.FSTimerTimer(Sender: TObject);
begin
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
SimpleGet(baseUrl+'/api/control/system/heartbeat');
if not hidden then
SimpleGet(baseUrl+'/api/control/system/heartbeat');
end;
procedure TGUIForm.InputClick(Sender: TObject);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3175,7 +3175,12 @@ procedure TGUIForm.FSTimerTimer(Sender: TObject);
begin
isFS := (GetConfig( 'video/current.fullscreen' ) = '1');
if not hidden then
begin
Caption := 'microM8 GUI';
SimpleGet(baseUrl+'/api/control/system/heartbeat');
end
else
Caption := 'microM8 GUI (hide)';
end;
procedure TGUIForm.InputClick(Sender: TObject);