summaryrefslogtreecommitdiffstats
path: root/src/gui/PortMenu.cpp
diff options
context:
space:
mode:
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 647dac8b..bbf5cbbd 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() == DataType::EVENTS || port->type() == DataType::VALUE)
+ if (port->type() == PortType::EVENTS || port->type() == PortType::VALUE)
_polyphonic_menuitem->hide();
_enable_signal = true;