diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-11 09:39:45 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-11 09:39:45 -0600 |
commit | 0299229e417ad6b8332ae3c9eafbf67a1c369727 (patch) | |
tree | 378fb89cc2c0a775a20fbdc732bbefd3818282aa /gtk2_ardour/ardour_ui_ed.cc | |
parent | e6da4c4846cd3097e2393f0e43016b870e7cf592 (diff) |
SoloSelection: gui part.
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index bf7623a445..a5284fa14c 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -466,6 +466,10 @@ ARDOUR_UI::install_actions () act = global_actions.register_action (transport_actions, X_("PlayPreroll"), _("Play w/Preroll"), sigc::mem_fun(*this, &ARDOUR_UI::transport_play_preroll)); ActionManager::session_sensitive_actions.push_back (act); ActionManager::transport_sensitive_actions.push_back (act); + act = global_actions.register_action (transport_actions, X_("solo-selection"), _("Solo Selection"), sigc::bind (sigc::mem_fun(*editor, &PublicEditor::play_solo_selection), true)); + ActionManager::session_sensitive_actions.push_back (act); + ActionManager::transport_sensitive_actions.push_back (act); + act = global_actions.register_action (transport_actions, X_("RecordPreroll"), _("Record w/Preroll"), sigc::mem_fun(*this, &ARDOUR_UI::transport_rec_preroll)); ActionManager::session_sensitive_actions.push_back (act); |