mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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