summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-11-18 01:20:52 +0000
committerDavid Robillard <d@drobilla.net>2009-11-18 01:20:52 +0000
commit58807f5840592959c31b415f7e2d64967594b5ee (patch)
tree6f666a1051f96b243c21a8195c549cd68d4d8f85 /src/gui/PortMenu.cpp
parent0487fd4a549d9eb9b04dbd19eecb1e3101311034 (diff)
downloadingen-58807f5840592959c31b415f7e2d64967594b5ee.tar.gz
ingen-58807f5840592959c31b415f7e2d64967594b5ee.tar.bz2
ingen-58807f5840592959c31b415f7e2d64967594b5ee.zip
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
Diffstat (limited to 'src/gui/PortMenu.cpp')
-rw-r--r--src/gui/PortMenu.cpp2
1 files changed, 1 insertions, 1 deletions
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<PortModel> 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;