#3000 Ensemble plot. Make curve attachment more robuts

This commit is contained in:
Bjørn Erik Jensen 2018-05-31 13:45:33 +02:00
parent 92ccf64571
commit d52229aa65

View File

@ -839,14 +839,14 @@ void RimEnsembleCurveSet::updateAllCurves()
}
}
m_yValuesSummaryFilter->updateFromAddress(addr->address());
}
if (plot->qwtPlot()) m_qwtPlotCurveForLegendText->attach(plot->qwtPlot());
}
RimSummaryPlot* plot;
firstAncestorOrThisOfType(plot);
if (plot->qwtPlot())
{
m_qwtPlotCurveForLegendText->attach(plot->qwtPlot());
plot->qwtPlot()->updateLegend();
plot->qwtPlot()->replot();
plot->updateAxes();