Make sure curve names and plot titles are updated using Plot Editor

This commit is contained in:
Magne Sjaastad 2022-08-09 15:15:48 +02:00
parent a3c561b7e5
commit 489b4bf66b
2 changed files with 3 additions and 1 deletions

View File

@ -702,8 +702,8 @@ void RicSummaryPlotEditorUi::updateTargetPlot()
m_targetPlot->loadDataAndUpdate();
m_targetPlot->updatePlotTitle();
m_targetPlot->updateConnectedEditors();
m_targetPlot->curvesChanged.send();
}
//--------------------------------------------------------------------------------------------------

View File

@ -2708,6 +2708,8 @@ bool RimSummaryPlot::handleGlobalKeyEvent( QKeyEvent* keyEvent )
//--------------------------------------------------------------------------------------------------
void RimSummaryPlot::onCurveCollectionChanged( const SignalEmitter* emitter )
{
curvesChanged.send();
updateStackedCurveData();
scheduleReplotIfVisible();