1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Development on drawables. ValueTree fix.

This commit is contained in:
Julian Storer 2010-06-23 21:51:28 +01:00
parent c8b977a482
commit fad682c1e1
5 changed files with 312 additions and 6 deletions

View file

@ -616,7 +616,7 @@ ValueTree ValueTree::getSibling (const int delta) const
return invalid;
const int index = object->parent->indexOf (*this) + delta;
return ValueTree (static_cast <SharedObject*> (object->children [index]));
return ValueTree (static_cast <SharedObject*> (object->parent->children [index]));
}
const var& ValueTree::operator[] (const Identifier& name) const