13
0

when using toggle-editor-and-mixer, if current tab is neither, go to mixer first.

This makes using Alt-m (the default binding) feel a lot more sensible
This commit is contained in:
Paul Davis 2016-07-12 09:42:34 -04:00
parent 2afaa51717
commit 600697513e

View File

@ -342,7 +342,8 @@ ARDOUR_UI::toggle_editor_and_mixer ()
} else if (_tabs.get_current_page() == _tabs.page_num (mixer->contents())) {
_tabs.set_current_page (_tabs.page_num (editor->contents()));
} else {
/* do nothing */
/* go to mixer */
_tabs.set_current_page (_tabs.page_num (mixer->contents()));
}
return;
}