mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2036. WellLogFile close command
This commit is contained in:
@@ -650,6 +650,21 @@ void RimWellPath::addWellLogFile(RimWellLogFile* logFileInfo)
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPath::removeWellLogFile(const RimWellLogFile* logFileInfo)
|
||||
{
|
||||
for (int i = 0; i < m_wellLogFiles.size(); i++)
|
||||
{
|
||||
if (m_wellLogFiles[i] == logFileInfo)
|
||||
{
|
||||
m_wellLogFiles.erase(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user