Additional fix to ensure GPIO buttons are working correctly on Voices or Performances.

pull/500/head
Kevin 2 years ago
parent 51ddff2dcb
commit 444b7ce917
  1. 2
      src/uimenu.cpp

@ -1205,7 +1205,7 @@ void CUIMenu::OPShortcutHandler (TMenuEvent Event)
void CUIMenu::PgmUpDownHandler (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 // Program Up/Down acts on performances
unsigned nLastPerformance = m_pMiniDexed->GetLastPerformance(); unsigned nLastPerformance = m_pMiniDexed->GetLastPerformance();

Loading…
Cancel
Save