diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/App.cpp | 2 | ||||
-rw-r--r-- | src/gui/ControlPanel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 1a9fc45d..38685d5b 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -396,7 +396,7 @@ bool App::can_control(const Client::PortModel* port) const { return port->is_a(uris().lv2_ControlPort) - || port->is_a(uris().cv_CVPort) + || port->is_a(uris().lv2_CVPort) || (port->is_a(uris().atom_AtomPort) && (port->supports(uris().atom_Float) || port->supports(uris().atom_String))); diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp index 9d437ef1..5cbfd38a 100644 --- a/src/gui/ControlPanel.cpp +++ b/src/gui/ControlPanel.cpp @@ -92,7 +92,7 @@ ControlPanel::add_port(SharedPtr<const PortModel> pm) WidgetFactory::get_widget_derived("toggle_control", tc); control = tc; } else if (pm->is_a(_app->uris().lv2_ControlPort) - || pm->is_a(_app->uris().cv_CVPort) + || pm->is_a(_app->uris().lv2_CVPort) || pm->supports(_app->uris().atom_Float)) { SliderControl* sc; WidgetFactory::get_widget_derived("control_strip", sc); |