mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
Flow Diag : Make sure the Eclipse case is open
This commit is contained in:
1 parent
276114f668
commit
198f738be8
1 file changed
+9
@@ -912,6 +912,15 @@ QString RimWellAllocationPlot::description() const
|
||||
void RimWellAllocationPlot::onLoadDataAndUpdate()
|
||||
{
|
||||
updateMdiWindowVisibility();
|
||||
|
||||
if ( !m_case ) return;
|
||||
|
||||
// If no 3D view is open, we have to make sure the case is opened
|
||||
if ( !m_case->ensureReservoirCaseIsOpen() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
updateFromWell();
|
||||
m_accumulatedWellFlowPlot->loadDataAndUpdate();
|
||||
updateFormationNamesData();
|
||||
|
||||
Reference in new issue
Block a user