mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Avoid call to updateConnectedEditors from updatePlotTitle
This commit is contained in:
@@ -667,6 +667,7 @@ void RimSummaryCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||
{
|
||||
plot->updateAxes();
|
||||
plot->updatePlotTitle();
|
||||
plot->updateConnectedEditors();
|
||||
}
|
||||
else if (changedField == &m_plotAxis)
|
||||
{
|
||||
@@ -807,6 +808,7 @@ void RimSummaryCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||
|
||||
plot->updateAxes();
|
||||
plot->updatePlotTitle();
|
||||
plot->updateConnectedEditors();
|
||||
}
|
||||
|
||||
if (&m_showCurve == changedField)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user