diff options
Diffstat (limited to 'src/gui/ControlPanel.cpp')
-rw-r--r-- | src/gui/ControlPanel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ControlPanel.cpp b/src/gui/ControlPanel.cpp index 6b3c180d..3c02d2d9 100644 --- a/src/gui/ControlPanel.cpp +++ b/src/gui/ControlPanel.cpp @@ -93,7 +93,8 @@ 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->supports(_app->uris().atom_Float32)) { + || pm->is_a(_app->uris().cv_CVPort) + || pm->supports(_app->uris().atom_Float)) { SliderControl* sc; WidgetFactory::get_widget_derived("control_strip", sc); control = sc; |