mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
firstAnchestorOfType now considers the object itself as well.
It is thus renamed to firstAnchestorOrThisOfType
This commit is contained in:
@@ -99,7 +99,7 @@ RimIdenticalGridCaseGroup* RicPasteFeatureImpl::findGridCaseGroup(PdmObjectHandl
|
||||
dynamic_cast<RimEclipseCase*>(objectHandle))
|
||||
{
|
||||
RimIdenticalGridCaseGroup* gridCaseGroup = NULL;
|
||||
objectHandle->firstAncestorOfType(gridCaseGroup);
|
||||
objectHandle->firstAnchestorOrThisOfType(gridCaseGroup);
|
||||
|
||||
return gridCaseGroup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user