mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8456 Early reject if no plot is created
This commit is contained in:
parent
f996b5383a
commit
8f75dcb29f
@ -951,6 +951,9 @@ void RimWellAllocationPlot::onLoadDataAndUpdate()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Other plot functions depend on a valid plot widget, early reject to avoid a lot of testing on valid widget
|
||||||
|
if ( !m_wellAllocationPlotWidget ) return;
|
||||||
|
|
||||||
updateFromWell();
|
updateFromWell();
|
||||||
m_accumulatedWellFlowPlot->loadDataAndUpdate();
|
m_accumulatedWellFlowPlot->loadDataAndUpdate();
|
||||||
updateFormationNamesData();
|
updateFormationNamesData();
|
||||||
|
Loading…
Reference in New Issue
Block a user