mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2780 Ensemble Curve Set : Improve plot title including ensembles
This commit is contained in:
@@ -65,6 +65,11 @@ void RicNewSummaryEnsembleCurveSetFeature::onActionTriggered(bool isChecked)
|
||||
{
|
||||
RimEnsembleCurveSet* curveSet = new RimEnsembleCurveSet();
|
||||
|
||||
if (!project->summaryGroups().empty())
|
||||
{
|
||||
curveSet->setSummaryCaseCollection(project->summaryGroups().back());
|
||||
}
|
||||
|
||||
plot->ensembleCurveSets()->addCurveSet(curveSet);
|
||||
plot->updateConnectedEditors();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user