From 1fc61253699425a2bf64a0f8b560f8474549b841 Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 22 Apr 2025 16:13:41 +0200 Subject: [PATCH] fix: forward parent to children --- .../widgets/plots/image/toolbar_bundles/image_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bec_widgets/widgets/plots/image/toolbar_bundles/image_selection.py b/bec_widgets/widgets/plots/image/toolbar_bundles/image_selection.py index 033ed439..dd236492 100644 --- a/bec_widgets/widgets/plots/image/toolbar_bundles/image_selection.py +++ b/bec_widgets/widgets/plots/image/toolbar_bundles/image_selection.py @@ -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")