mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-21 20:30:56 +00:00
fix bug fetching strip labels for gainlayer
This commit is contained in:
parent
36cbd5a9ea
commit
24c97964b2
@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- [ ] Allow setting a bus mode from config
|
- [ ] Allow setting a bus mode from config
|
||||||
|
- [x] Fixed bug with gainlayer sync fetching strip label.
|
||||||
|
|
||||||
## [1.1.0] - 2022-05-05
|
## [1.1.0] - 2022-05-05
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="vmcompact",
|
name="vmcompact",
|
||||||
version="1.1.0",
|
version="1.1.1",
|
||||||
author="Onyx and Iris",
|
author="Onyx and Iris",
|
||||||
author_email="code@onyxandiris.online",
|
author_email="code@onyxandiris.online",
|
||||||
description="Compact Tkinter Voicemeeter Remote App",
|
description="Compact Tkinter Voicemeeter Remote App",
|
||||||
|
@ -165,7 +165,7 @@ class GainLayer(ttk.LabelFrame):
|
|||||||
|
|
||||||
def sync(self):
|
def sync(self):
|
||||||
"""sync params with voicemeeter"""
|
"""sync params with voicemeeter"""
|
||||||
retval = self.getter("label")
|
retval = self._parent.target.strip[self.index].label
|
||||||
if len(retval) > 10:
|
if len(retval) > 10:
|
||||||
retval = f"{retval[:8]}.."
|
retval = f"{retval[:8]}.."
|
||||||
self.configure(text=retval)
|
self.configure(text=retval)
|
||||||
|
Loading…
Reference in New Issue
Block a user