summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-15 14:53:18 +0200
committerRobin Gareus <robin@gareus.org>2016-04-15 14:53:18 +0200
commit6f4ccfcd3b8ea971170b339fa93d501680cf44b3 (patch)
treeb18232284d19d45b888e28c5fc787d7aecbf4b92 /gtk2_ardour/add_route_dialog.cc
parented3eddaf19ca7b3fae05e2ad3b5c683e30be49ed (diff)
hide strict-i/o UI for Mixbus
Diffstat (limited to 'gtk2_ardour/add_route_dialog.cc')
-rw-r--r--gtk2_ardour/add_route_dialog.cc17
1 files changed, 11 insertions, 6 deletions
diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc
index 2d8e4e4ede..50db64d3fe 100644
--- a/gtk2_ardour/add_route_dialog.cc
+++ b/gtk2_ardour/add_route_dialog.cc
@@ -164,13 +164,18 @@ AddRouteDialog::AddRouteDialog ()
++n;
/* New Route's Routing is.. */
- l = manage (new Label (_("Output Ports:"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
- table2->attach (*l, 1, 2, n, n + 1, Gtk::FILL, Gtk::EXPAND, 0, 0);
- table2->attach (strict_io_combo, 2, 3, n, n + 1, Gtk::FILL, Gtk::EXPAND | Gtk::FILL, 0, 0);
- ARDOUR_UI_UTILS::set_tooltip (strict_io_combo,
- _("With strict-i/o enabled, Effect Processors will not modify the number of channels on a track. The number of output channels will always match the number of input channels."));
- ++n;
+ if (Profile->get_mixbus ()) {
+ strict_io_combo.set_active (1);
+ } else {
+ l = manage (new Label (_("Output Ports:"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
+ table2->attach (*l, 1, 2, n, n + 1, Gtk::FILL, Gtk::EXPAND, 0, 0);
+ table2->attach (strict_io_combo, 2, 3, n, n + 1, Gtk::FILL, Gtk::EXPAND | Gtk::FILL, 0, 0);
+
+ ARDOUR_UI_UTILS::set_tooltip (strict_io_combo,
+ _("With strict-i/o enabled, Effect Processors will not modify the number of channels on a track. The number of output channels will always match the number of input channels."));
+ ++n;
+ }
options_box->pack_start (*table2, false, true);
vbox->pack_start (*options_box, false, true);