mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Yet another micro-tweak to button callback behaviour - prevent radio-group auto-toggle buttons sending events to other group buttons when they get turned off.
This commit is contained in:
parent
44ba3f52fe
commit
823608f27a
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ void Button::setToggleState (const bool shouldBeOn, const NotificationType notif
|
|||
|
||||
if (lastToggleState)
|
||||
{
|
||||
turnOffOtherButtonsInGroup (notification);
|
||||
turnOffOtherButtonsInGroup (dontSendNotification);
|
||||
|
||||
if (deletionWatcher == nullptr)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue