#6737 Make sure we always create a summary reader interface when asking for a reader

This commit is contained in:
Gaute Lindkvist
2020-10-12 14:28:24 +02:00
parent 3972d662f0
commit b3abe284ce
5 changed files with 20 additions and 0 deletions

View File

@@ -78,6 +78,10 @@ void RimCsvUserData::createSummaryReaderInterface()
//--------------------------------------------------------------------------------------------------
RifSummaryReaderInterface* RimCsvUserData::summaryReader()
{
if ( m_summaryReader.isNull() )
{
createSummaryReaderInterface();
}
return m_summaryReader.p();
}