mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5326 Phase Distribution : Make sure Eclipse case is open
This commit is contained in:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user