mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4811 Source Stepping : Show ensemble stepping when plot is selected
This commit is contained in:
parent
311dd5b5c4
commit
c111b0d4c3
@ -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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user