diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index b86469bd2d..08ccd45ab7 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1036,13 +1036,17 @@ Editor::access_action (std::string action_group, std::string action_item) return; } + ENSURE_GUI_THREAD (bind (mem_fun (*this, &Editor::access_action), action_group, action_item)); + cout<< "OSC: Recieved: "<< action_item << endl; RefPtr act; act = ActionManager::get_action( action_group.c_str(), action_item.c_str() ); - if( act ) + if (act) { act->activate(); + } + }