From 7d2b2e035dfc7489a60b18d8d875078b0aadc08b Mon Sep 17 00:00:00 2001 From: diyelectromusic <68612569+diyelectromusic@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:54:18 +0100 Subject: [PATCH] Fix bank number in UI to match the numbers from the bank files. --- src/uimenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uimenu.cpp b/src/uimenu.cpp index cc1d670..e863606 100644 --- a/src/uimenu.cpp +++ b/src/uimenu.cpp @@ -519,7 +519,7 @@ void CUIMenu::EditVoiceBankNumber (CUIMenu *pUIMenu, TMenuEvent Event) string TG ("TG"); TG += to_string (nTG+1); - string Value = to_string (nValue+1) + "=" + string Value = to_string (nValue) + "=" + pUIMenu->m_pMiniDexed->GetSysExFileLoader ()->GetBankName (nValue); pUIMenu->m_pUI->DisplayWrite (TG.c_str (),