mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3205 Improved default name of modelled wellpaths. Made sure that the name is read and written.
This commit is contained in:
@@ -68,7 +68,7 @@ void RicNewEditableWellPathFeature::onActionTriggered(bool isChecked)
|
||||
{
|
||||
std::vector<RimWellPath*> newWellPaths;
|
||||
newWellPaths.push_back(new RimModeledWellPath());
|
||||
newWellPaths.back()->setName("UWell-" + QString::number(wellPathCollection->wellPaths.size()));
|
||||
newWellPaths.back()->setName("UWell-" + QString::number(wellPathCollection->modelledWellPathCount()+1));
|
||||
wellPathCollection->addWellPaths(newWellPaths);
|
||||
wellPathCollection->uiCapability()->updateConnectedEditors();
|
||||
wellPathCollection->scheduleRedrawAffectedViews();
|
||||
|
||||
Reference in New Issue
Block a user