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:
parent
603f63a773
commit
3b9e7d0106
@ -217,6 +217,7 @@ void RicSummaryCurveCreator::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
|||||||
else if (changedField == &m_useAutoPlotTitleProxy)
|
else if (changedField == &m_useAutoPlotTitleProxy)
|
||||||
{
|
{
|
||||||
m_previewPlot->updatePlotTitle();
|
m_previewPlot->updatePlotTitle();
|
||||||
|
|
||||||
m_previewPlot->summaryCurveCollection()->updateConnectedEditors();
|
m_previewPlot->summaryCurveCollection()->updateConnectedEditors();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -667,6 +667,7 @@ void RimSummaryCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
|||||||
{
|
{
|
||||||
plot->updateAxes();
|
plot->updateAxes();
|
||||||
plot->updatePlotTitle();
|
plot->updatePlotTitle();
|
||||||
|
plot->updateConnectedEditors();
|
||||||
}
|
}
|
||||||
else if (changedField == &m_plotAxis)
|
else if (changedField == &m_plotAxis)
|
||||||
{
|
{
|
||||||
@ -807,6 +808,7 @@ void RimSummaryCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
|||||||
|
|
||||||
plot->updateAxes();
|
plot->updateAxes();
|
||||||
plot->updatePlotTitle();
|
plot->updatePlotTitle();
|
||||||
|
plot->updateConnectedEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (&m_showCurve == changedField)
|
if (&m_showCurve == changedField)
|
||||||
|
@ -499,8 +499,6 @@ void RimSummaryPlot::updatePlotTitle()
|
|||||||
m_userDefinedPlotTitle = generatePlotTitle(m_nameHelper.get());
|
m_userDefinedPlotTitle = generatePlotTitle(m_nameHelper.get());
|
||||||
|
|
||||||
updateCurveNames();
|
updateCurveNames();
|
||||||
|
|
||||||
this->updateConnectedEditors();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
updateMdiWindowTitle();
|
updateMdiWindowTitle();
|
||||||
@ -1042,6 +1040,7 @@ void RimSummaryPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
|||||||
changedField == &m_useAutoPlotTitle)
|
changedField == &m_useAutoPlotTitle)
|
||||||
{
|
{
|
||||||
updatePlotTitle();
|
updatePlotTitle();
|
||||||
|
updateConnectedEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changedField == &m_useAutoPlotTitle && !m_useAutoPlotTitle)
|
if (changedField == &m_useAutoPlotTitle && !m_useAutoPlotTitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user