Fix missing update of export well name

This commit is contained in:
Magne Sjaastad
2022-09-08 16:14:05 +02:00
committed by GitHub
parent 5dc020ccb7
commit f3a3e04e1f
5 changed files with 25 additions and 9 deletions

View File

@@ -152,7 +152,7 @@ RimModeledWellPath* RicPasteModeledWellPathFeature::duplicateAndInitializeWellPa
auto* destinationWellPath = dynamic_cast<RimModeledWellPath*>(
sourceWellPath->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
QString name = sourceWellPath->name() + " (copy)";
QString name = sourceWellPath->name() + "(copy)";
destinationWellPath->setName( name );
wpc->addWellPath( destinationWellPath, false );