Restore port group tabs.

git-svn-id: svn://localhost/ardour2/branches/3.0@6363 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-12-13 22:21:04 +00:00
parent 1767da64bd
commit 60cc81ea1a
2 changed files with 3 additions and 2 deletions

View File

@ -351,8 +351,6 @@ 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) &&

View File

@ -97,6 +97,8 @@ PortMatrix::PortMatrix (Window* parent, Session* session, DataType type)
_hlabel.show ();
_hspacer.show ();
_vspacer.show ();
_vnotebook.show ();
_hnotebook.show ();
}
PortMatrix::~PortMatrix ()
@ -652,6 +654,7 @@ PortMatrix::setup_notebooks ()
dummy->show ();
Label* label = manage (new Label ((*i)->name));
label->set_angle (_arrangement == LEFT_TO_BOTTOM ? 90 : -90);
label->show ();
_vnotebook.prepend_page (*dummy, *label);
}