fix(waveform): safeguard for _scan_history_closed

This commit is contained in:
2025-10-08 13:40:48 +02:00
committed by Jan Wyzula
co-authored by Jan Wyzula
parent 7e88a002b6
commit 2bf489600e
@@ -467,6 +467,8 @@ class Waveform(PlotBase):
"""
Slot for when the scan history dialog is closed.
"""
if self.scan_history_dialog is None:
return
self.scan_history_widget.close()
self.scan_history_widget.deleteLater()
self.scan_history_dialog.deleteLater()