#5326 Phase Distribution : Make sure Eclipse case is open

This commit is contained in:
Magne Sjaastad
2020-01-12 13:22:52 +01:00
parent 198f738be8
commit 7de6fda595
2 changed files with 2 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ void RimWellDistributionPlot::onLoadDataAndUpdate()
updateLegend();
if ( m_case )
if ( m_case && m_case->ensureReservoirCaseIsOpen() )
{
// tim.reportLapTimeMS("about to start calc");
RigTofWellDistributionCalculator calc( m_case, m_wellName, m_timeStepIndex, m_phase() );