mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2915 Return if no target plot is available
This commit is contained in:
@@ -613,7 +613,7 @@ void RicSummaryCurveCreator::populateCurveCreator(const RimSummaryPlot& sourceSu
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RicSummaryCurveCreator::updateTargetPlot()
|
void RicSummaryCurveCreator::updateTargetPlot()
|
||||||
{
|
{
|
||||||
if (m_targetPlot == nullptr) m_targetPlot = new RimSummaryPlot();
|
if (!m_targetPlot) return;
|
||||||
|
|
||||||
m_targetPlot->deleteAllSummaryCurves();
|
m_targetPlot->deleteAllSummaryCurves();
|
||||||
m_targetPlot->ensembleCurveSetCollection()->deleteAllCurveSets();
|
m_targetPlot->ensembleCurveSetCollection()->deleteAllCurveSets();
|
||||||
|
|||||||
Reference in New Issue
Block a user