From 58807f5840592959c31b415f7e2d64967594b5ee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Nov 2009 01:20:52 +0000 Subject: Less reliance on Buffer::type() (which doesn't really make sense, since buffer type != port type...). AudioBuffer copy improvements. Remove redundant AudioBuffer::_port_type (same as Buffer::_type). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2275 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PortMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/PortMenu.cpp') diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index bbf5cbbd..48a0e2c3 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -48,7 +48,7 @@ PortMenu::init(SharedPtr port, bool patch_port) _destroy_menuitem->hide(); } - if (port->type() == PortType::EVENTS || port->type() == PortType::VALUE) + if (port->type() == PortType::EVENTS) _polyphonic_menuitem->hide(); _enable_signal = true; -- cgit v1.2.1