diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index c4f5de5e..012e8fcd 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -125,9 +125,9 @@ void Port::set_control(float value, bool signal) { if (signal) { - if (model()->type() == DataType::CONTROL) { + if (model()->type() == PortType::CONTROL) { App::instance().engine()->set_port_value(model()->path(), Atom(value)); - } else if (model()->type() == DataType::EVENTS) { + } else if (model()->type() == PortType::EVENTS) { App::instance().engine()->set_port_value(model()->path(), Atom("<http://example.org/ev#BangEvent>", 0, NULL)); } |