From c14943c63d85345414285c31ffa14a0b7dadd5d8 Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Fri, 3 Nov 2017 09:47:58 +0100 Subject: [PATCH] Cleanup of projection's remnants from previous item. --- GUI/coregui/Views/IntensityDataWidgets/ProjectionsPlot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/coregui/Views/IntensityDataWidgets/ProjectionsPlot.cpp b/GUI/coregui/Views/IntensityDataWidgets/ProjectionsPlot.cpp index d351642e374..944385cb0eb 100644 --- a/GUI/coregui/Views/IntensityDataWidgets/ProjectionsPlot.cpp +++ b/GUI/coregui/Views/IntensityDataWidgets/ProjectionsPlot.cpp @@ -111,6 +111,7 @@ void ProjectionsPlot::subscribeToItem() void ProjectionsPlot::unsubscribeFromItem() { unsubscribeFromChildren(); + clearProjections(); } void ProjectionsPlot::onProjectionPropertyChanged(SessionItem* item, const QString& property) -- GitLab