Merge pull request #4818 from OPM/improve-ensemble-stepping

Improve ensemble stepping
This commit is contained in:
Magne Sjaastad
2019-10-04 11:43:06 +02:00
committed by GitHub
11 changed files with 120 additions and 127 deletions

View File

@@ -574,6 +574,12 @@ void RiuPlotMainWindow::updateSummaryPlotToolBar( bool forceUpdateUi )
else
{
toolBarFields = summaryPlot->summaryCurveCollection()->fieldsToShowInToolbar();
if ( toolBarFields.empty() )
{
// Show ensemble stepping if no fields are available from summary stepping
toolBarFields = summaryPlot->ensembleCurveSetCollection()->fieldsToShowInToolbar();
}
}
if ( !m_summaryPlotToolBarEditor->isEditorDataValid( toolBarFields ) )