mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor cleanup in ChoicePropertyComponent
This commit is contained in:
parent
9e867255d3
commit
9916aa6870
2 changed files with 4 additions and 4 deletions
|
|
@ -155,7 +155,7 @@ ChoicePropertyComponent::ChoicePropertyComponent (const Value& valueToControl,
|
|||
correspondingValues)));
|
||||
}
|
||||
|
||||
ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToControl,
|
||||
ChoicePropertyComponent::ChoicePropertyComponent (const ValueWithDefault& valueToControl,
|
||||
const String& name,
|
||||
const StringArray& choiceList,
|
||||
const Array<var>& correspondingValues)
|
||||
|
|
@ -167,7 +167,7 @@ ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToContro
|
|||
correspondingValues)));
|
||||
}
|
||||
|
||||
ChoicePropertyComponent::ChoicePropertyComponent (ValueWithDefault valueToControl,
|
||||
ChoicePropertyComponent::ChoicePropertyComponent (const ValueWithDefault& valueToControl,
|
||||
const String& name)
|
||||
: PropertyComponent (name),
|
||||
choices ({ "Enabled", "Disabled" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue