Re-introduce toggle-editor-and-mixer (for ctrl-surfaces)
authorRobin Gareus <robin@gareus.org>
Sun, 2 Jul 2017 23:41:35 +0000 (01:41 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 2 Jul 2017 23:41:35 +0000 (01:41 +0200)
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

index b0e0bc1006c03d21ccc8bac004d4738d2559a7a6..e2e791f93ca478f2389d4447097970384493bc6e 100644 (file)
@@ -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));