#8456 Early reject if no plot is created

This commit is contained in:
Magne Sjaastad 2022-01-18 09:03:07 +01:00
parent f996b5383a
commit 8f75dcb29f

View File

@ -951,6 +951,9 @@ void RimWellAllocationPlot::onLoadDataAndUpdate()
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();
m_accumulatedWellFlowPlot->loadDataAndUpdate();
updateFormationNamesData();