From b0d6d38f9bfb33916b17f20cbeae30cd1f05007b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Nov 2008 05:52:59 +0000 Subject: Hide polyphonic menu entry for event ports (fix ticket #270). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1761 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PortMenu.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/PortMenu.cpp b/src/gui/PortMenu.cpp index ea9b2dc9..195d6af3 100644 --- a/src/gui/PortMenu.cpp +++ b/src/gui/PortMenu.cpp @@ -46,6 +46,9 @@ PortMenu::init(SharedPtr port, bool patch_port) _rename_menuitem->hide(); _destroy_menuitem->hide(); } + + if (port->type() == DataType::EVENT) + _polyphonic_menuitem->hide(); _enable_signal = true; } -- cgit v1.2.1