diff options
author | Carl Hetherington <carl@carlh.net> | 2011-10-31 22:44:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-10-31 22:44:01 +0000 |
commit | 44bfe88366f7448d7357f14277eee35f5bc7019f (patch) | |
tree | eb3f0a16b511ff70f99051cdd2da643a6b235b4f /gtk2_ardour | |
parent | d57e00b7a21f19a5ba75cb607d0506ea20bd761d (diff) |
Don't show busses tab in MIDI connection managers, since
there are no MIDI busses yet.
git-svn-id: svn://localhost/ardour2/branches/3.0@10365 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/port_group.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index 7523e8beea..8383d803a3 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -577,7 +577,9 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp } add_group_if_not_empty (other); - add_group_if_not_empty (bus); + if (type != DataType::MIDI) { + add_group_if_not_empty (bus); + } add_group_if_not_empty (track); add_group_if_not_empty (ardour); add_group_if_not_empty (system); |