#4811 Source Stepping : Show ensemble stepping when plot is selected

This commit is contained in:
Magne Sjaastad 2019-10-04 09:54:57 +02:00
parent 311dd5b5c4
commit c111b0d4c3

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 ) )