mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-30 04:58:00 +01:00
fix(scan_control): remove parent from layout to prevent QLayout: Attempting to add QLayout "" to ScanGroupBox "", which already has a layout
This commit is contained in:
1 parent
51f7652b1f
commit
e8e67f68a2
1 file changed
+1
-1
@@ -192,7 +192,7 @@ class ScanGroupBox(QGroupBox):
|
||||
vbox_layout = QVBoxLayout(self)
|
||||
hbox_layout = QHBoxLayout()
|
||||
vbox_layout.addLayout(hbox_layout)
|
||||
self.layout = QGridLayout(self)
|
||||
self.layout = QGridLayout()
|
||||
vbox_layout.addLayout(self.layout)
|
||||
|
||||
# Add bundle button
|
||||
|
||||
Reference in new issue
Block a user