Browse Source

Prevented Button::setToggleState sending unwanted state change messages.

tags/2021-05-28
jules 12 years ago
parent
commit
a62d0b5d44
1 changed files with 2 additions and 1 deletions
  1. +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();
}
}


Loading…
Cancel
Save