mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
fixes bug renaming virtual strips.
patch bump
This commit is contained in:
parent
8424558f3d
commit
681bf8e85c
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nvda_voicemeeter"
|
name = "nvda_voicemeeter"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
description = "A Voicemeeter app compatible with NVDA"
|
description = "A Voicemeeter app compatible with NVDA"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
{ name = "onyx-and-iris", email = "code@onyxandiris.online" },
|
||||||
|
@ -237,9 +237,9 @@ class NVDAVMWindow(psg.Window):
|
|||||||
|
|
||||||
def popup_rename(self, message, title=None, tab=None):
|
def popup_rename(self, message, title=None, tab=None):
|
||||||
if tab == "Physical Strip":
|
if tab == "Physical Strip":
|
||||||
upper = self.kind.phys_out + 1
|
upper = self.kind.phys_in + 1
|
||||||
elif tab == "Virtual Strip":
|
elif tab == "Virtual Strip":
|
||||||
upper = self.kind.virt_out + 1
|
upper = self.kind.virt_in + 1
|
||||||
elif tab == "Buses":
|
elif tab == "Buses":
|
||||||
upper = self.kind.num_bus + 1
|
upper = self.kind.num_bus + 1
|
||||||
|
|
||||||
@ -323,6 +323,7 @@ class NVDAVMWindow(psg.Window):
|
|||||||
self[f"STRIP {index}||LABEL"].update(value=label)
|
self[f"STRIP {index}||LABEL"].update(value=label)
|
||||||
self.cache["labels"][f"STRIP {index}||LABEL"] = label
|
self.cache["labels"][f"STRIP {index}||LABEL"] = label
|
||||||
case "Virtual Strip":
|
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 + 1}"
|
||||||
self.vm.strip[index].label = label
|
self.vm.strip[index].label = label
|
||||||
self[f"STRIP {index}||LABEL"].update(value=label)
|
self[f"STRIP {index}||LABEL"].update(value=label)
|
||||||
|
Loading…
Reference in New Issue
Block a user