mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7811 Modeled Well Path : Add copy/paste of a modeled well path
This commit is contained in:
@@ -339,6 +339,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
else if ( dynamic_cast<RimWellPathCollection*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicNewEditableWellPathFeature";
|
||||
menuBuilder << "RicPasteModeledWellPathFeature";
|
||||
menuBuilder.addSeparator();
|
||||
menuBuilder.subMenuStart( "Import" );
|
||||
menuBuilder << "RicWellPathsImportFileFeature";
|
||||
|
||||
@@ -899,12 +899,11 @@ std::map<QString, std::vector<RimWellPath*>>
|
||||
QString rootWellName = wellPath->name().left( indexOfLateralStart );
|
||||
|
||||
rootWells[rootWellName].push_back( wellPath );
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
rootWells[RimWellPathCollection::unGroupedText()].push_back( wellPath );
|
||||
}
|
||||
|
||||
rootWells[RimWellPathCollection::unGroupedText()].push_back( wellPath );
|
||||
}
|
||||
|
||||
return rootWells;
|
||||
|
||||
Reference in New Issue
Block a user