mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a mistake in ValueTree::AddOrRemoveChildAction
This commit is contained in:
parent
f784907c73
commit
3a6ec3e56b
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ public:
|
|||
{
|
||||
AddOrRemoveChildAction (Ptr parentObject, int index, SharedObject* newChild)
|
||||
: target (static_cast<Ptr&&> (parentObject)),
|
||||
child (newChild != nullptr ? newChild : parentObject->children.getObjectPointer (index)),
|
||||
child (newChild != nullptr ? newChild : target->children.getObjectPointer (index)),
|
||||
childIndex (index),
|
||||
isDeleting (newChild == nullptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue