diff --git a/bec_widgets/widgets/plots/toolbar_bundles/mouse_interactions.py b/bec_widgets/widgets/plots/toolbar_bundles/mouse_interactions.py index 390d9585..fba15470 100644 --- a/bec_widgets/widgets/plots/toolbar_bundles/mouse_interactions.py +++ b/bec_widgets/widgets/plots/toolbar_bundles/mouse_interactions.py @@ -44,7 +44,7 @@ class MouseInteractionToolbarBundle(ToolbarBundle): initial_action="drag_mode", tooltip="Mouse Modes", checkable=True, - parent=self, + parent=self.target_widget, ) # Add them to the bundle