mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-08 02:24:06 +01:00
fix: forward parent to children
This commit is contained in:
1 parent
fef07ac8e1
commit
1fc6125369
1 file changed
+1
-1
@@ -40,7 +40,7 @@ class MonitorSelectionToolbarBundle(ToolbarBundle):
|
||||
self.add_action("monitor", WidgetAction(widget=self.device_combo_box, adjust_size=True))
|
||||
|
||||
# 2) Dimension combo box
|
||||
self.dim_combo_box = QComboBox()
|
||||
self.dim_combo_box = QComboBox(parent=self.target_widget)
|
||||
self.dim_combo_box.addItems(["auto", "1d", "2d"])
|
||||
self.dim_combo_box.setCurrentText("auto")
|
||||
self.dim_combo_box.setToolTip("Monitor Dimension")
|
||||
|
||||
Reference in new issue
Block a user