From 444b7ce9178ed38cdc1b79d1d9fe2f1ccc06c83e Mon Sep 17 00:00:00 2001 From: Kevin <68612569+diyelectromusic@users.noreply.github.com> Date: Sat, 12 Aug 2023 09:09:08 -0700 Subject: [PATCH] Additional fix to ensure GPIO buttons are working correctly on Voices or Performances. --- src/uimenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uimenu.cpp b/src/uimenu.cpp index 6561e9d..ac301cf 100644 --- a/src/uimenu.cpp +++ b/src/uimenu.cpp @@ -1205,7 +1205,7 @@ void CUIMenu::OPShortcutHandler (TMenuEvent Event) void CUIMenu::PgmUpDownHandler (TMenuEvent Event) { - if (m_pMiniDexed->GetParameter (CMiniDexed::ParameterPerformanceSelectChannel) > 0) + if (m_pMiniDexed->GetParameter (CMiniDexed::ParameterPerformanceSelectChannel) != CMIDIDevice::Disabled) { // Program Up/Down acts on performances unsigned nLastPerformance = m_pMiniDexed->GetLastPerformance();