mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
APVTS: Don't call setNewState() when a parameter has been removed from the state
This commit is contained in:
parent
4d6921ff7d
commit
49c152565e
1 changed files with 1 additions and 3 deletions
|
|
@ -411,10 +411,8 @@ void AudioProcessorValueTreeState::valueTreeChildAdded (ValueTree& parent, Value
|
|||
setNewState (tree);
|
||||
}
|
||||
|
||||
void AudioProcessorValueTreeState::valueTreeChildRemoved (ValueTree& parent, ValueTree& tree, int)
|
||||
void AudioProcessorValueTreeState::valueTreeChildRemoved (ValueTree&, ValueTree&, int)
|
||||
{
|
||||
if (parent == state && tree.hasType (valueType))
|
||||
setNewState (tree);
|
||||
}
|
||||
|
||||
void AudioProcessorValueTreeState::valueTreeRedirected (ValueTree& v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue