Avoid call to updateConnectedEditors from updatePlotTitle

This commit is contained in:
Magne Sjaastad
2017-12-14 15:04:14 +01:00
parent 603f63a773
commit 3b9e7d0106
3 changed files with 4 additions and 2 deletions

View File

@@ -499,8 +499,6 @@ void RimSummaryPlot::updatePlotTitle()
m_userDefinedPlotTitle = generatePlotTitle(m_nameHelper.get());
updateCurveNames();
this->updateConnectedEditors();
}
updateMdiWindowTitle();
@@ -1042,6 +1040,7 @@ void RimSummaryPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
changedField == &m_useAutoPlotTitle)
{
updatePlotTitle();
updateConnectedEditors();
}
if (changedField == &m_useAutoPlotTitle && !m_useAutoPlotTitle)