381382383384385386387388389390391
int count = group.getCount(); if (childIndex < count) { // do the remove OptionElement element = group.getChildOption(childIndex); element.removeFromParent(); group.decrement(); // remove empty groups if (group.getCount() <= 0) {