#1288 Added defaultFlowDiagSolution to RimEclipseResultCase

This commit is contained in:
Magne Sjaastad
2017-03-09 22:45:47 +01:00
parent 7e4906fced
commit 40a5f8dc02
6 changed files with 22 additions and 8 deletions

View File

@@ -354,6 +354,19 @@ void RimEclipseResultCase::updateFilePathsFromProjectPath(const QString& newProj
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimFlowDiagSolution* RimEclipseResultCase::defaultFlowDiagSolution()
{
if (m_flowDiagSolutions.size() > 0)
{
return m_flowDiagSolutions[0];
}
return nullptr;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------