(Mixbus profile only) tentatively remove the Zoom and Cut tools, to save space in the toolbar and reduce some highly redundant functions

This commit is contained in:
Ben Loftis 2014-07-11 15:41:28 -05:00
parent 492c933a69
commit 62cab525f0
3 changed files with 31 additions and 14 deletions

View file

@ -232,6 +232,11 @@ Editor::set_mouse_mode (MouseMode m, bool force)
return;
}
if (ARDOUR::Profile->get_mixbus()) {
if ( m == MouseZoom) m = MouseObject;
if ( m == MouseCut) m = MouseObject;
}
Glib::RefPtr<Action> act;
switch (m) {
@ -286,6 +291,11 @@ Editor::mouse_mode_toggled (MouseMode m)
Glib::RefPtr<Action> act;
Glib::RefPtr<ToggleAction> tact;
if (ARDOUR::Profile->get_mixbus()) {
if ( m == MouseZoom) m = MouseObject;
if ( m == MouseCut) m = MouseObject;
}
switch (m) {
case MouseRange:
act = ActionManager::get_action (X_("MouseMode"), X_("set-mouse-mode-range"));