diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-12 09:42:34 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-12 09:42:34 -0400 |
commit | 600697513e71086203c8d382ae8455db9ffeaaa3 (patch) | |
tree | 115df20fed1378de5afc2180cc0256cc7f6028e0 /gtk2_ardour/ardour_ui_dialogs.cc | |
parent | 2afaa517170fe18c3448ba7378621d80ee5667cf (diff) |
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
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_dialogs.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index e74ee8fa04..406bf223ce 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -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; } |