Fix for FX UI

pull/764/head
Javier Nonis 6 months ago
parent 035b3104f7
commit 8538869d11
  1. 8
      src/uimenu.cpp

@ -3002,9 +3002,11 @@ CUIMenu::TMenuItem* CUIMenu::getInsertFXMenuItem(unsigned type)
{
CUIMenu::TMenuItem* menu = getFXMenuItem(type);
for (size_t i = 0; i < sizeof(menu); i++)
unsigned i = 0;
while(menu[i].Name != NULL)
{
menu[i].Handler = EditTGFXParameter;
i++;
}
return menu;
@ -3014,9 +3016,11 @@ CUIMenu::TMenuItem* CUIMenu::getSendFXMenuItem(unsigned type)
{
CUIMenu::TMenuItem* menu = getFXMenuItem(type);
for (size_t i = 0; i < sizeof(menu); i++)
unsigned i = 0;
while(menu[i].Name != NULL)
{
menu[i].Handler = EditSendFXParameter;
i++;
}
return menu;

Loading…
Cancel
Save