Fix loading voice names when bank changing.

pull/4/head
Holger Wirtz 6 years ago
parent bc67760e18
commit 2759ad4ee4
  1. 2
      UI.cpp

@ -170,6 +170,7 @@ void handle_ui(void)
{ {
enc[i].write(MAX_VOICES - 1); enc[i].write(MAX_VOICES - 1);
bank--; bank--;
get_voice_names_from_bank(bank);
} }
else else
enc[i].write(0); enc[i].write(0);
@ -180,6 +181,7 @@ void handle_ui(void)
{ {
enc[i].write(0); enc[i].write(0);
bank++; bank++;
get_voice_names_from_bank(bank);
} }
else else
enc[i].write(MAX_VOICES - 1); enc[i].write(MAX_VOICES - 1);

Loading…
Cancel
Save