fix bug fetching strip labels for gainlayer

This commit is contained in:
onyx-and-iris
2022-05-05 16:03:49 +01:00
parent 36cbd5a9ea
commit 24c97964b2
3 changed files with 3 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ class GainLayer(ttk.LabelFrame):
def sync(self):
"""sync params with voicemeeter"""
retval = self.getter("label")
retval = self._parent.target.strip[self.index].label
if len(retval) > 10:
retval = f"{retval[:8]}.."
self.configure(text=retval)