[Update] Config Window: デバイスがなかった場合、オプションメニューにはNo Mic Device Detectedなどの表示に。
This commit is contained in:
9
view.py
9
view.py
@@ -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":
|
if config.CHOICE_MIC_HOST == "NoHost" or config.CHOICE_MIC_DEVICE == "NoDevice":
|
||||||
vrct_gui._changeConfigWindowWidgetsStatus(
|
vrct_gui._changeConfigWindowWidgetsStatus(
|
||||||
status="disabled",
|
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":
|
if config.CHOICE_SPEAKER_DEVICE == "NoDevice":
|
||||||
vrct_gui._changeConfigWindowWidgetsStatus(
|
vrct_gui._changeConfigWindowWidgetsStatus(
|
||||||
status="disabled",
|
status="disabled",
|
||||||
|
|||||||
Reference in New Issue
Block a user