mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Fixed an incorrect return value from ValueWithDefault::isUsingDefault()
This commit is contained in:
parent
64cd94f8ae
commit
665f1fbedf
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ public:
|
|||
/** Returns true if the property does not exist or is empty. */
|
||||
bool isUsingDefault() const
|
||||
{
|
||||
return ! targetTree.hasProperty (targetProperty) || targetTree.getProperty (targetProperty) == var();
|
||||
return ! targetTree.hasProperty (targetProperty) || targetTree.getProperty (targetProperty).toString().isEmpty();
|
||||
}
|
||||
|
||||
/** Removes the property from the referenced ValueTree. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue