From d121cc1f4c9c52ebd1dc8462aaa58e8de4ad26a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 21 Jan 2022 09:53:28 +0100 Subject: [PATCH] Fix peak integration not setting the chromatogram dirty. --- .../chromatogram/xxd/integrator/core/peaks/PeakIntegrator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.integrator/src/org/eclipse/chemclipse/chromatogram/xxd/integrator/core/peaks/PeakIntegrator.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.integrator/src/org/eclipse/chemclipse/chromatogram/xxd/integrator/core/peaks/PeakIntegrator.java index fd3222a3ba..62ab5fd1af 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.integrator/src/org/eclipse/chemclipse/chromatogram/xxd/integrator/core/peaks/PeakIntegrator.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.integrator/src/org/eclipse/chemclipse/chromatogram/xxd/integrator/core/peaks/PeakIntegrator.java @@ -64,6 +64,7 @@ public class PeakIntegrator { * This class has only static methods. */ private PeakIntegrator() { + } /** @@ -143,6 +144,7 @@ public static IProcessingInfo integrate(IChromatogramSelection chro IPeakIntegrator integrator = getPeakIntegrator(integratorId); if(integrator != null) { processingInfo = integrator.integrate(chromatogramSelection, peakIntegrationSettings, monitor); + chromatogramSelection.getChromatogram().setDirty(true); } else { processingInfo = getNoIntegratorAvailableProcessingInfo(); } @@ -163,6 +165,7 @@ public static IProcessingInfo integrate(IChromatogramSelection chro IPeakIntegrator integrator = getPeakIntegrator(integratorId); if(integrator != null) { processingInfo = integrator.integrate(chromatogramSelection, monitor); + chromatogramSelection.getChromatogram().setDirty(true); } else { processingInfo = getNoIntegratorAvailableProcessingInfo(); }