mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Minor fixes for Value components.
This commit is contained in:
parent
e73a0fb874
commit
38bd05de16
3 changed files with 8 additions and 2 deletions
|
|
@ -46,7 +46,9 @@ BooleanPropertyComponent::BooleanPropertyComponent (const String& name,
|
|||
BooleanPropertyComponent::BooleanPropertyComponent (const Value& valueToControl,
|
||||
const String& name,
|
||||
const String& buttonText)
|
||||
: PropertyComponent (name)
|
||||
: PropertyComponent (name),
|
||||
onText (buttonText),
|
||||
offText (buttonText)
|
||||
{
|
||||
createButton();
|
||||
button->setButtonText (buttonText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue