summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-31 01:36:14 +0200
committerRobin Gareus <robin@gareus.org>2020-03-31 01:37:38 +0200
commitbd92e290c09665c1813c670e33432c36a967777f (patch)
tree3b5ed19c004f2e95a4c9a83621bd1de337cbadf8 /gtk2_ardour/mixer_strip.cc
parent8fced29372cd637bd6b5142b4945d86a9675c483 (diff)
Fix send-button layout (2 column table)
Amend c765079b2f, remove Mixbus special-case for Ardour
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 89b4c1e53b..49ffff642e 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -663,7 +663,12 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
/* non-master bus */
if (!_route->is_master()) {
- rec_mon_table.attach (*show_sends_button, 0, 3, 0, 2);
+ if (ARDOUR::Profile->get_mixbus()) {
+ rec_mon_table.attach (*show_sends_button, 0, 3, 0, 2);
+ } else {
+ rec_mon_table.attach (*show_sends_button, 0, 2, 0, 2);
+ }
+
if (_mixer_owned) {
show_sends_button->show();
} else {