From 970595e0f523e577d776ad895bf0d4e0b2f71b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Thu, 6 Apr 2017 10:58:39 +0200 Subject: [PATCH] Flow Characteristics Plot: Fixed missing replot when changing case to case without any solved flow diag timesteps --- ApplicationCode/UserInterface/RiuFlowCharacteristicsPlot.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ApplicationCode/UserInterface/RiuFlowCharacteristicsPlot.cpp b/ApplicationCode/UserInterface/RiuFlowCharacteristicsPlot.cpp index d0f80d8203..4e1324f05b 100644 --- a/ApplicationCode/UserInterface/RiuFlowCharacteristicsPlot.cpp +++ b/ApplicationCode/UserInterface/RiuFlowCharacteristicsPlot.cpp @@ -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(); }