From 7ebc06d049926afe3fcb2ce02cd2a3fd8a15f707 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Sun, 17 Sep 2023 03:58:41 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8D[Update]=20main=20configWindow=20op?= =?UTF-8?q?en/close=E6=99=82=E3=81=AB=E6=9C=80=E5=89=8D=E9=9D=A2=E8=A1=A8?= =?UTF-8?q?=E7=A4=BAON=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AE=E5=87=A6?= =?UTF-8?q?=E7=90=86=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.py b/main.py index d4ec38ff..1a5eca28 100644 --- a/main.py +++ b/main.py @@ -238,6 +238,8 @@ def callbackOpenConfigWindow(): stopThreadingTranscriptionSendMessage() if config.ENABLE_TRANSCRIPTION_RECEIVE is True: stopThreadingTranscriptionReceiveMessage() + if config.ENABLE_FOREGROUND is True: + view.foregroundOff() def callbackCloseConfigWindow(): if config.ENABLE_TRANSCRIPTION_SEND is True: @@ -252,6 +254,9 @@ def callbackCloseConfigWindow(): view.replaceSpeakerThresholdCheckButton_Passive() # view.initProgressBar_SpeakerEnergy() # ProgressBarに0をセットしたい + if config.ENABLE_FOREGROUND is True: + view.foregroundOn() + # Compact Mode Switch def callbackEnableConfigWindowCompactMode(): config.IS_CONFIG_WINDOW_COMPACT_MODE = True