|
|
|
@ -587,6 +587,15 @@ void CUIMenu::EditProgramNumber (CUIMenu *pUIMenu, TMenuEvent Event) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
string voiceName = pUIMenu->m_pMiniDexed->GetVoiceName (nTG); // Skip empty voices
|
|
|
|
|
if (voiceName == "INIT VOICE") { |
|
|
|
|
if (Event == MenuEventStepUp) { |
|
|
|
|
CUIMenu::EditProgramNumber (pUIMenu, MenuEventStepUp); |
|
|
|
|
} |
|
|
|
|
if (Event == MenuEventStepDown) { |
|
|
|
|
CUIMenu::EditProgramNumber (pUIMenu, MenuEventStepDown); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
string TG ("TG"); |
|
|
|
|
TG += to_string (nTG+1); |
|
|
|
|
|
|
|
|
@ -597,6 +606,7 @@ void CUIMenu::EditProgramNumber (CUIMenu *pUIMenu, TMenuEvent Event) |
|
|
|
|
Value.c_str (), |
|
|
|
|
nValue > 0, nValue < (int) CSysExFileLoader::VoicesPerBank-1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void CUIMenu::EditTGParameter (CUIMenu *pUIMenu, TMenuEvent Event) |
|
|
|
|
{ |
|
|
|
|