[bugfix] Config Window: スレッショルドチェックボタンDisabled処理が、コンパクトモードや設定画面閉じる際に解除されてしまうのを修正。
This commit is contained in:
13
view.py
13
view.py
@@ -738,6 +738,13 @@ class View():
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
def initMicThresholdCheckButton(self):
|
||||
if config.CHOICE_MIC_HOST == "NoHost" or config.CHOICE_MIC_DEVICE == "NoDevice":
|
||||
self.replaceMicThresholdCheckButton_Disabled()
|
||||
else:
|
||||
self.replaceMicThresholdCheckButton_Passive()
|
||||
|
||||
@staticmethod
|
||||
def replaceMicThresholdCheckButton_Active():
|
||||
vrct_gui.config_window.sb__progressbar_x_slider__passive_button_mic_energy_threshold.grid_remove()
|
||||
@@ -758,6 +765,12 @@ class View():
|
||||
|
||||
|
||||
|
||||
def initSpeakerThresholdCheckButton(self):
|
||||
if config.CHOICE_SPEAKER_DEVICE == "NoDevice":
|
||||
self.replaceSpeakerThresholdCheckButton_Disabled()
|
||||
else:
|
||||
self.replaceSpeakerThresholdCheckButton_Passive()
|
||||
|
||||
@staticmethod
|
||||
def replaceSpeakerThresholdCheckButton_Active():
|
||||
vrct_gui.config_window.sb__progressbar_x_slider__passive_button_speaker_energy_threshold.grid_remove()
|
||||
|
||||
Reference in New Issue
Block a user