We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa5283 commit 3be53d8Copy full SHA for 3be53d8
1 file changed
Source/Processors/Editors/ChannelSelector.cpp
@@ -329,7 +329,10 @@ void ChannelSelector::setActiveChannels(Array<int> a)
329
330
for (int i = 0; i < a.size(); i++)
331
{
332
- parameterButtons[a[i]]->setToggleState(true, dontSendNotification);
+ if (a[i] < parameterButtons.size())
333
+ {
334
+ parameterButtons[a[i]]->setToggleState(true, dontSendNotification);
335
+ }
336
}
337
338
0 commit comments