From b1878d0ab5b196292e9d5f7e8cc83655a2089999 Mon Sep 17 00:00:00 2001 From: Dmitry Yurov <d.yurov@fz-juelich.de> Date: Thu, 27 Sep 2018 12:47:24 +0200 Subject: [PATCH] Temporary fix for App crash on job switching Redmine: #2171 --- GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.cpp b/GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.cpp index a70277f32a4..c9d0b9d1bc6 100644 --- a/GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.cpp +++ b/GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.cpp @@ -105,6 +105,7 @@ void FitComparisonWidget1D::subscribeToItem() void FitComparisonWidget1D::unsubscribeFromItem() { + m_diff_plot->setItem(nullptr); m_comparisonController->clear(); } -- GitLab