diff --git a/src/ui/linechart/LinechartWidget.cc b/src/ui/linechart/LinechartWidget.cc index e2d331932f9c6f7bd3c40c871b83003bbf3d6df3..7e4521d915ece47648b1fb5b8ac71a0224b5dd15 100644 --- a/src/ui/linechart/LinechartWidget.cc +++ b/src/ui/linechart/LinechartWidget.cc @@ -643,7 +643,7 @@ void LinechartWidget::addCurve(const QString& curve, const QString& unit) // Connect actions connect(selectAllCheckBox, SIGNAL(clicked(bool)), checkBox, SLOT(setChecked(bool))); QObject::connect(checkBox, SIGNAL(clicked(bool)), this, SLOT(takeButtonClick(bool))); - QObject::connect(this, SIGNAL(curveVisible(QString, bool)), plot, SLOT(setVisible(QString, bool))); + QObject::connect(this, SIGNAL(curveVisible(QString, bool)), plot, SLOT(setVisibleById(QString, bool))); // Set UI components to initial state checkBox->setChecked(false);