diff --git a/backup/main.pas b/backup/main.pas index 13a3d81..281435d 100644 --- a/backup/main.pas +++ b/backup/main.pas @@ -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); diff --git a/main.pas b/main.pas index 281435d..278184c 100644 --- a/main.pas +++ b/main.pas @@ -3174,13 +3174,13 @@ end; 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)'; + //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);