diff --git a/modules/juce_gui_basics/buttons/juce_Button.cpp b/modules/juce_gui_basics/buttons/juce_Button.cpp index 344621692a..4b688ee0f4 100644 --- a/modules/juce_gui_basics/buttons/juce_Button.cpp +++ b/modules/juce_gui_basics/buttons/juce_Button.cpp @@ -309,8 +309,8 @@ void Button::internalClickCallback (const ModifierKeys& modifiers) { if (clickTogglesState) setToggleState (radioGroupId != 0 || ! lastToggleState, sendNotification); - - sendClickMessage (modifiers); + else + sendClickMessage (modifiers); } void Button::flashButtonState()