hi guys, need help in fixing this,
i added few buttons to my audio plugin … one of them is behaving strangely,
it is not changing its togglestate when clicked and produces weird gui errors,
the errors are causing segmentation fault, the button when clicked should change its state to grey,
and set dynamic threshold, for all channels of all electrodes. strangely, button does not change its toggle state and throws segmentation fault,
when the button is on it should set dynamci threshold for channels and while off it must set default threshold for channels.
check pastebin for code and more description