mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Flow Diag : Make sure the Eclipse case is open
This commit is contained in:
@@ -912,6 +912,15 @@ QString RimWellAllocationPlot::description() const
|
|||||||
void RimWellAllocationPlot::onLoadDataAndUpdate()
|
void RimWellAllocationPlot::onLoadDataAndUpdate()
|
||||||
{
|
{
|
||||||
updateMdiWindowVisibility();
|
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();
|
updateFromWell();
|
||||||
m_accumulatedWellFlowPlot->loadDataAndUpdate();
|
m_accumulatedWellFlowPlot->loadDataAndUpdate();
|
||||||
updateFormationNamesData();
|
updateFormationNamesData();
|
||||||
|
|||||||
Reference in New Issue
Block a user