mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Merge 984fc9476f into d6181bde38
This commit is contained in:
commit
8a99bc1a71
7 changed files with 54 additions and 9 deletions
|
|
@ -183,7 +183,7 @@ Value& Value::operator= (const var& newValue)
|
|||
return *this;
|
||||
}
|
||||
|
||||
void Value::referTo (const Value& valueToReferTo)
|
||||
void Value::referTo (const Value& valueToReferTo, bool notifyListeners)
|
||||
{
|
||||
if (valueToReferTo.value != value)
|
||||
{
|
||||
|
|
@ -194,7 +194,7 @@ void Value::referTo (const Value& valueToReferTo)
|
|||
}
|
||||
|
||||
value = valueToReferTo.value;
|
||||
callListeners();
|
||||
if(notifyListeners) callListeners();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue