Performance: Update toolbar when required

This commit is contained in:
Magne Sjaastad
2023-10-17 09:34:19 +02:00
parent ff2286964a
commit 6858cfe3cf
5 changed files with 7 additions and 8 deletions

View File

@@ -191,7 +191,6 @@ void RimPlotCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField, co
updateCurveAppearance();
}
RiuPlotMainWindowTools::refreshToolbars();
replotParentPlot();
}

View File

@@ -1151,9 +1151,6 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
{
plot->updateAxes();
plot->updatePlotTitle();
RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
mainPlotWindow->updateMultiPlotToolBar();
}
else if ( changedField == &m_yPlotAxisProperties )
{