This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Prevented Button::setToggleState sending unwanted state change messages.
tags/2021-05-28
jules
12 years ago
parent
c54ca1037d
commit
a62d0b5d44
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
modules/juce_gui_basics/buttons/juce_Button.cpp
+ 2
- 1
modules/juce_gui_basics/buttons/juce_Button.cpp
View File
@@ -154,7 +154,8 @@ void Button::setToggleState (const bool shouldBeOn, const NotificationType notif
return;
}
sendStateMessage();
if (notification != dontSendNotification)
sendStateMessage();
}
}
Write
Preview
Loading…
Cancel
Save