From d681ba538be9ccec45a1ebd412cbc33c8c7c0ae2 Mon Sep 17 00:00:00 2001 From: wyzula-jan Date: Wed, 8 Oct 2025 13:29:59 +0200 Subject: [PATCH] fix(waveform): cleanup of scan_history dialog if not closed manually before widget --- bec_widgets/widgets/plots/waveform/waveform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bec_widgets/widgets/plots/waveform/waveform.py b/bec_widgets/widgets/plots/waveform/waveform.py index e22c3b3a..fb71c8b1 100644 --- a/bec_widgets/widgets/plots/waveform/waveform.py +++ b/bec_widgets/widgets/plots/waveform/waveform.py @@ -2360,6 +2360,9 @@ class Waveform(PlotBase): if self.dap_summary_dialog is not None: self.dap_summary_dialog.reject() self.dap_summary_dialog = None + if self.scan_history_dialog is not None: + self.scan_history_dialog.reject() + self.scan_history_dialog = None super().cleanup()