mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2880 export completions if the the well path name is explictly provided even if unchecked
This commit is contained in:
@@ -112,9 +112,13 @@ void RicfExportWellPathCompletions::execute()
|
||||
std::vector<RimWellPath*> wellPaths;
|
||||
if (m_wellPathNames().empty())
|
||||
{
|
||||
std::copy(RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths().begin(),
|
||||
RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths().end(),
|
||||
std::back_inserter(wellPaths));
|
||||
for (auto wellPath : RiaApplication::instance()->project()->activeOilField()->wellPathCollection->wellPaths())
|
||||
{
|
||||
if (wellPath->showWellPath())
|
||||
{
|
||||
wellPaths.push_back(wellPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user