From 13ee3d9fc39fcbbeb1813bdb96ad4eb0e9d751ad Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 5 Mar 2025 00:08:57 +0100 Subject: [PATCH] Set Editor context when entering editor or main toolbar --- gtk2_ardour/editor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 9c9c4e6161..c80de2f76d 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -719,7 +719,8 @@ Editor::Editor () setup_fade_images (); switch_editing_context (this); - contents().signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false); + content_main_top.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false); + content_main.signal_enter_notify_event().connect (sigc::mem_fun (*this, &Editor::enter), false); } bool