From 9695fd4ca96a9a6a057d5ac453acb791543f1efc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Jul 2017 01:41:35 +0200 Subject: [PATCH] Re-introduce toggle-editor-and-mixer (for ctrl-surfaces) 6af51b52 moved to dedicated show-editor/show-mixer actions for keybindings because the Mixer has a dedicated handler. For Control-surfaces a common action is still practical. Note: This is still broken for detached windows. it currently only toggles tabs correctly. --- gtk2_ardour/ardour_ui_ed.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index b0e0bc1006..e2e791f93c 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -357,6 +357,8 @@ ARDOUR_UI::install_actions () global_actions.register_action (common_actions, X_("previous-tab"), _("Previous Tab"), sigc::mem_fun (*this, &ARDOUR_UI::step_up_through_tabs)); global_actions.register_action (common_actions, X_("next-tab"), _("Next Tab"), sigc::mem_fun (*this, &ARDOUR_UI::step_down_through_tabs)); + global_actions.register_action (common_actions, X_("toggle-editor-and-mixer"), _("Toggle Editor & Mixer"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_editor_and_mixer)); + /* windows visibility actions */ global_actions.register_toggle_action (common_actions, X_("ToggleMaximalEditor"), _("Maximise Editor Space"), sigc::mem_fun (*this, &ARDOUR_UI::toggle_editing_space));