Fix warning

This commit is contained in:
Bjørn Erik Jensen 2018-09-25 09:24:35 +02:00
parent c422ffc6ed
commit df2c3c4819

View File

@ -977,8 +977,6 @@ void RimEnsembleCurveSet::updateEnsembleCurves(const std::vector<RimSummaryCase*
if (plot->qwtPlot()) m_qwtPlotCurveForLegendText->attach(plot->qwtPlot());
}
RimSummaryPlot* plot;
firstAncestorOrThisOfType(plot);
if (plot->qwtPlot())
{
plot->qwtPlot()->updateLegend();