[Update] Config Window: デバイスがなかった場合、オプションメニューにはNo Mic Device Detectedなどの表示に。

This commit is contained in:
Sakamoto Shiina
2023-10-12 10:19:03 +09:00
parent a7644fce23
commit fd433754fc

View File

@@ -449,6 +449,12 @@ class View():
if config.CHOICE_MIC_HOST == "NoHost":
self.view_variable.VAR_MIC_HOST.set("No Mic Host Detected")
if config.CHOICE_MIC_DEVICE == "NoDevice":
self.view_variable.VAR_MIC_DEVICE.set("No Mic Device Detected")
if config.CHOICE_MIC_HOST == "NoHost" or config.CHOICE_MIC_DEVICE == "NoDevice":
vrct_gui._changeConfigWindowWidgetsStatus(
status="disabled",
@@ -458,6 +464,9 @@ class View():
]
)
if config.CHOICE_SPEAKER_DEVICE == "NoDevice":
self.view_variable.VAR_SPEAKER_DEVICE.set("No Speaker Device Detected")
if config.CHOICE_SPEAKER_DEVICE == "NoDevice":
vrct_gui._changeConfigWindowWidgetsStatus(
status="disabled",