Skip to content

Commit 53cf334

Browse files
committed
fix(scan_control): remove parent from layout to prevent QLayout: Attempting to add QLayout "" to ScanGroupBox "", which already has a layout
1 parent e8c85a6 commit 53cf334

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bec_widgets/widgets/control/scan_control/scan_group_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def __init__(
192192
vbox_layout = QVBoxLayout(self)
193193
hbox_layout = QHBoxLayout()
194194
vbox_layout.addLayout(hbox_layout)
195-
self.layout = QGridLayout(self)
195+
self.layout = QGridLayout()
196196
vbox_layout.addLayout(self.layout)
197197

198198
# Add bundle button

0 commit comments

Comments
 (0)