Flow Characteristics Plot: Fixed missing replot when changing case to case without any solved flow diag timesteps

This commit is contained in:
Jacob Støren 2017-04-06 10:58:39 +02:00
parent 6b78d98a74
commit 970595e0f5

View File

@ -192,8 +192,11 @@ void RiuFlowCharacteristicsPlot::addSweepEfficiencyCurve(const QDateTime& dateTi
void RiuFlowCharacteristicsPlot::removeAllCurves()
{
m_lorenzPlot->detachItems(QwtPlotItem::Rtti_PlotCurve, true);
m_lorenzPlot->replot();
m_sweepEffPlot->detachItems(QwtPlotItem::Rtti_PlotCurve, true);
m_sweepEffPlot->replot();
m_flowCapVsStorageCapPlot->detachItems(QwtPlotItem::Rtti_PlotCurve, true);
m_flowCapVsStorageCapPlot->replot();
m_dateToColorMap.clear();
}