mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Stopped buttons with auto-toggle sending duplicated events.
This commit is contained in:
parent
3f07f45702
commit
9d505609b7
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue