summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_group.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-07 18:35:42 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-07 18:35:42 +0000
commitdc86434283718b7c4a4ed6af52a950e6cfc5e86f (patch)
treefbb1ea6c2fda853e4201ca783a7d76f29416f3dc /gtk2_ardour/port_group.cc
parent71f1b360a0c0ddeb9b7eb47f01dfbd87423b314a (diff)
Redraw the matrix correctly when available ports change in the currently visible tab.
git-svn-id: svn://localhost/ardour2/branches/3.0@6322 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_group.cc')
-rw-r--r--gtk2_ardour/port_group.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc
index 6d3f92d267..2589722264 100644
--- a/gtk2_ardour/port_group.cc
+++ b/gtk2_ardour/port_group.cc
@@ -245,7 +245,7 @@ PortGroupList::gather (ARDOUR::Session* session, bool inputs, bool allow_dups)
if (session == 0) {
return;
}
-
+
boost::shared_ptr<PortGroup> bus (new PortGroup (_("Bus")));
boost::shared_ptr<PortGroup> track (new PortGroup (_("Track")));
boost::shared_ptr<PortGroup> system (new PortGroup (_("System")));
@@ -351,6 +351,8 @@ PortGroupList::gather (ARDOUR::Session* session, bool inputs, bool allow_dups)
std::string const p = ports[n];
+ cout << p << "\n";
+
if (!system->has_port(p) &&
!bus->has_port(p) &&
!track->has_port(p) &&