mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05:00
#8456 Early reject if no plot is created
This commit is contained in:
1 parent
f996b5383a
commit
8f75dcb29f
1 file changed
+3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user