gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit b331fa7adb52f4bb164dbe1f485b06729541ab03
parent 48910ea406f0e08e69f21395899474840c239ca2
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu,  7 Apr 2022 21:51:18 +0200

fix initial state of play mode buttons always display Single even if in Multi mode

Diffstat:
Msource/jucePlugin/ui3/VirusEditor.cpp | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/source/jucePlugin/ui3/VirusEditor.cpp b/source/jucePlugin/ui3/VirusEditor.cpp @@ -50,8 +50,6 @@ namespace genericVirusUI m_playModeToggle->onClick = [this]{ setPlayMode(m_playModeToggle->getToggleState() ? virusLib::PlayMode::PlayModeMulti : virusLib::PlayMode::PlayModeSingle); }; } - updatePlayModeButtons(); - if(m_romSelector) { if(!_processorRef.isPluginValid()) @@ -237,6 +235,7 @@ namespace genericVirusUI { m_parts->onProgramChange(); updatePresetName(); + updatePlayModeButtons(); } void VirusEditor::onPlayModeChanged()