commit e36f07a282e3ca65d7c2f7de49e6aba710a31433
parent 0968c835b499fd7026e24933d1ff28c61dbd3083
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sat, 13 Jul 2024 14:27:17 +0200
fix part not reset to 0 when leaving Multi Mode
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/changelog.txt b/doc/changelog.txt
@@ -17,6 +17,8 @@ Xenia:
- [Fix] Initial state of Multi Mode button was always off even though the device
might have booted with Multi Mode enabled
+- [Fix] Part selection was not reset to part 1 if switched from Multi to Single
+ mode
1.3.15 (2023.07.06)
diff --git a/source/xtJucePlugin/xtEditor.cpp b/source/xtJucePlugin/xtEditor.cpp
@@ -68,6 +68,9 @@ namespace xtJucePlugin
{
updateMultiButton(_isMultiMode);
m_frontPanel->getLcd()->refresh();
+
+ if(!_isMultiMode)
+ m_parts->selectPart(0);
};
m_btSave = findComponentT<juce::DrawableButton>("SaveButton");