diff options
Diffstat (limited to 'src/libs/gui/ControlPanel.cpp')
-rw-r--r-- | src/libs/gui/ControlPanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/ControlPanel.cpp b/src/libs/gui/ControlPanel.cpp index bef5e18b..422a4614 100644 --- a/src/libs/gui/ControlPanel.cpp +++ b/src/libs/gui/ControlPanel.cpp @@ -107,7 +107,7 @@ ControlPanel::add_port(SharedPtr<PortModel> pm) return; // Add port - if (pm->is_control() && pm->is_input()) { + if (pm->type().is_control() && pm->is_input()) { SliderControlGroup* cg = NULL; #if 0 if (pm->is_integer()) |