mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Minor fix in ValueTree.
This commit is contained in:
parent
f50b05b251
commit
5edf41737e
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
if (index < 0)
|
||||
if (! isPositiveAndBelow (index, children.size()))
|
||||
index = children.size();
|
||||
|
||||
undoManager->perform (new AddOrRemoveChildAction (this, index, child));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue