mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5019 WIP: Made fields in IntersectionHandle protected
This commit is contained in:
@@ -89,8 +89,8 @@ void RicPasteIntersectionsFeature::onActionTriggered( bool isChecked )
|
||||
RimIntersection* intersection = dynamic_cast<RimIntersection*>(
|
||||
intersectionObjects[i]->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
|
||||
QString nameOfCopy = QString( "Copy of " ) + intersection->name;
|
||||
intersection->name = nameOfCopy;
|
||||
QString nameOfCopy = QString( "Copy of " ) + intersection->name();
|
||||
intersection->setName( nameOfCopy );
|
||||
|
||||
if ( i == intersectionObjects.size() - 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user