From ba65a1d687dc6ff5ff4db6bd8718d19055e2f61e Mon Sep 17 00:00:00 2001 From: djdt <10266332+djdt@users.noreply.github.com> Date: Thu, 9 May 2024 12:53:00 +1000 Subject: [PATCH] fix error on open spotwise wizard --- pewpew/widgets/wizards/spot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pewpew/widgets/wizards/spot.py b/pewpew/widgets/wizards/spot.py index 863b77c1..14943e66 100644 --- a/pewpew/widgets/wizards/spot.py +++ b/pewpew/widgets/wizards/spot.py @@ -696,7 +696,7 @@ def __init__( self.check_raster = QtWidgets.QCheckBox("Alternate line raster direction.") self.check_raster.toggled.connect(self.updateImage) - self.graphics = LaserGraphicsView(options) + self.graphics = LaserGraphicsView(options, parent=self) self.combo_element = QtWidgets.QComboBox() self.combo_element.currentIndexChanged.connect(self.updateImage)