diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-03 19:06:07 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-12-03 19:06:07 +0000 |
commit | 523952e655d27f0ff6e5f2eff0f272fc5aca6fa5 (patch) | |
tree | 3eda8d4af6b140056bc37240d9c9eb242c5d149f /gtk2_ardour/add_route_dialog.cc | |
parent | 10140d119d185a8da17582bbfe5cc2108f14e3e8 (diff) |
add single-layer zoom toggle; add toggle-fade-active commands (& bindings for SAE); add zoom-to-region; allow 2 digits in the tempo dialog
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2735 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/add_route_dialog.cc')
-rw-r--r-- | gtk2_ardour/add_route_dialog.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc index 2728e7687e..1b78e01c35 100644 --- a/gtk2_ardour/add_route_dialog.cc +++ b/gtk2_ardour/add_route_dialog.cc @@ -67,6 +67,15 @@ AddRouteDialog::AddRouteDialog () { if (channel_combo_strings.empty()) { channel_combo_strings = I18N (channel_setup_names); + + if (ARDOUR::Profile->get_sae()) { + /* remove all but the first two (Mono & Stereo) */ + + while (track_mode_strings.size() > 2) { + track_mode_strings.pop_back(); + } + } + } if (track_mode_strings.empty()) { |