mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
ensure Virtual Input gets correct label if cleared
This commit is contained in:
parent
681bf8e85c
commit
5069db97da
@ -324,7 +324,7 @@ class NVDAVMWindow(psg.Window):
|
||||
self.cache["labels"][f"STRIP {index}||LABEL"] = label
|
||||
case "Virtual Strip":
|
||||
index += self.kind.phys_in
|
||||
label = data.get("Edit") or f"Virtual Input {index + 1}"
|
||||
label = data.get("Edit") or f"Virtual Input {index - self.kind.phys_in + 1}"
|
||||
self.vm.strip[index].label = label
|
||||
self[f"STRIP {index}||LABEL"].update(value=label)
|
||||
self.cache["labels"][f"STRIP {index}||LABEL"] = label
|
||||
|
Loading…
Reference in New Issue
Block a user