diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-09 03:16:09 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-09 03:16:09 +0200 |
commit | 8017a7fc1ef49d31aa6ba1c58464d622f2006b13 (patch) | |
tree | 1b79fafab6f953be5f6c1129d9d3f81108304b0d /gtk2_ardour/editor.cc | |
parent | 8912efe9c95bff23e4d63d70842c6eaad0aa5ae1 (diff) |
Backport Mixbus toolbutton layout
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 9b3fbe3d5e..ff587b2fc1 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -3055,10 +3055,14 @@ Editor::setup_toolbar () Glib::RefPtr<SizeGroup> mouse_mode_size_group = SizeGroup::create (SIZE_GROUP_VERTICAL); mouse_mode_size_group->add_widget (smart_mode_button); mouse_mode_size_group->add_widget (mouse_move_button); - mouse_mode_size_group->add_widget (mouse_cut_button); + if (!Profile->get_mixbus()) { + mouse_mode_size_group->add_widget (mouse_cut_button); + } mouse_mode_size_group->add_widget (mouse_select_button); mouse_mode_size_group->add_widget (mouse_timefx_button); - mouse_mode_size_group->add_widget (mouse_audition_button); + if (!Profile->get_mixbus()) { + mouse_mode_size_group->add_widget (mouse_audition_button); + } mouse_mode_size_group->add_widget (mouse_draw_button); mouse_mode_size_group->add_widget (mouse_content_button); |