Move duplicate button to the right of the multiplot toolbar

This commit is contained in:
jonjenssen authored and jonjenssen committed 2022-05-20 16:47:44 +02:00
1 parent 7c25677d18
commit 886f5e3295
1 file changed
+2 -1
@@ -567,7 +567,6 @@ std::vector<caf::PdmFieldHandle*> RimSummaryMultiPlot::fieldsToShowInToolbar()
std::vector<caf::PdmFieldHandle*> toolBarFields;
toolBarFields.push_back( &m_disableWheelZoom );
toolBarFields.push_back( &m_createPlotDuplicate );
auto& sourceObject = m_sourceStepping();
if ( sourceObject )
@@ -582,6 +581,8 @@ std::vector<caf::PdmFieldHandle*> RimSummaryMultiPlot::fieldsToShowInToolbar()
toolBarFields.push_back( &m_appendPrevCurve );
toolBarFields.push_back( &m_appendNextCurve );
toolBarFields.push_back( &m_createPlotDuplicate );
auto multiFields = RimMultiPlot::fieldsToShowInToolbar();
toolBarFields.insert( std::end( toolBarFields ), std::begin( multiFields ), std::end( multiFields ) );