true, true); // conserve total units
}
}
if (getAssignments().isEmpty()) {
Assignment newDefault = newDefaultAssignment();
newDefault.usePropertiesOf(assignment); // the default assignment must take on properties of the removed assignment
AssignmentService.getInstance().connect(newDefault, null);
}
}
setDirty(true);
//project.endUndoUpdate();