mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
Avoid call to updateConnectedEditors from updatePlotTitle
This commit is contained in:
parent
603f63a773
commit
3b9e7d0106
@ -217,6 +217,7 @@ void RicSummaryCurveCreator::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
||||
else if (changedField == &m_useAutoPlotTitleProxy)
|
||||
{
|
||||
m_previewPlot->updatePlotTitle();
|
||||
|
||||
m_previewPlot->summaryCurveCollection()->updateConnectedEditors();
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user