{
if (!fs.resettingTable && !fs.handlingUpdate) {
fs.handlingUpdate=true;
- fs.resetTable(null); // groups may be added with new seuqence feature types only
+ fs.resetTable(null); // new groups may be added with new seuqence feature types only
fs.handlingUpdate=false;
}
}
if (!allGroups.contains(group))
{
allGroups.addElement(group);
- if (checkGroupState(group))
+ if (group!=null)
{
- // continue; // skip this group's feature - we've done it already ?
+ checkGroupState(group);
}
}
}
if (group == null || fr.featureGroups.get(group) == null ||
( (Boolean) fr.featureGroups.get(group)).booleanValue())
{
- checkGroupState(group);
+ if (group!=null)
+ checkGroupState(group);
type = tmpfeatures[index].getType();
if (!visibleChecks.contains(type))
{