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

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- [ ] Allow setting a bus mode from config
- [x] Fixed bug with gainlayer sync fetching strip label.
## [1.1.0] - 2022-05-05

View File

@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="vmcompact",
version="1.1.0",
version="1.1.1",
author="Onyx and Iris",
author_email="code@onyxandiris.online",
description="Compact Tkinter Voicemeeter Remote App",

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)