1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

More tweaking of Button toggle-notification behaviour.

This commit is contained in:
jules 2013-10-22 16:10:28 +01:00
parent e71fd7cdcb
commit bbd620c1cf

View file

@ -309,7 +309,8 @@ void Button::internalClickCallback (const ModifierKeys& modifiers)
{
if (clickTogglesState)
setToggleState (radioGroupId != 0 || ! lastToggleState, sendNotification);
else
if (radioGroupId != 0 || ! clickTogglesState)
sendClickMessage (modifiers);
}