ToggleButton problem

i’ve noticed that the toggle buttons in the AudioDeviceSelector component (related to the midi inputs) don’t update themselves when i click on 'em. instead they do update their state if i click on another adjacent toggle, and i can see then both toggles updating state on the gui… the same toggles on the WidgetsDemo work correctly. can anyone confirm this ?

It’s probably just not repainting properly - try this in juce_AudioDeviceSelectorComponent.cpp, line 497:

        if (midiInputsList != 0)

yeah that fixed it… thanx for the second time today :smiley: