Make sure plot create from Python is visible

This commit is contained in:
Magne Sjaastad 2024-10-30 09:56:57 +01:00
parent 4468e89ded
commit 7677466d29

View File

@ -18,6 +18,7 @@
#include "RimcSummaryPlotCollection.h"
#include "PlotBuilderCommands/RicSummaryPlotBuilder.h"
#include "SummaryPlotCommands/RicNewDefaultSummaryPlotFeature.h"
#include "SummaryPlotCommands/RicNewSummaryEnsembleCurveSetFeature.h"
#include "SummaryPlotCommands/RicSummaryPlotFeatureImpl.h"
@ -83,6 +84,7 @@ caf::PdmObjectHandle* RimcSummaryPlotCollection_newSummaryPlot::execute()
if ( newPlot )
{
newPlot->loadDataAndUpdate();
RicSummaryPlotBuilder::createAndAppendSingleSummaryMultiPlot( newPlot );
}
return newPlot;