From d22a0e5ce6262c0da6af132cbd598de5daa73173 Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Sun, 9 Jul 2023 18:15:35 +0200 Subject: [PATCH] Represent enum parameters using the bar widget The implementation of the current LADSPA dialog in master uses knobs to represent enum parameters. Therefore it should also work with the new bar widget. This gets rid of many labels with the parameter name followed by "(unsupported)". --- plugins/LadspaEffect/LadspaWidgetFactory.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/LadspaEffect/LadspaWidgetFactory.cpp b/plugins/LadspaEffect/LadspaWidgetFactory.cpp index 3aa81653b..040cd818b 100644 --- a/plugins/LadspaEffect/LadspaWidgetFactory.cpp +++ b/plugins/LadspaEffect/LadspaWidgetFactory.cpp @@ -61,6 +61,7 @@ QWidget * LadspaWidgetFactory::createWidget(LadspaControl * ladspaControl, QWidg } case INTEGER: + case ENUM: case FLOATING: // TODO Remove when not needed anymore /*knob = new Knob(knobBright_26, parent, name);