From fda0d238c8c837950652ddbfdb63fa39a2c76517 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 5 May 2014 13:52:34 +0200 Subject: [PATCH] Fixed slot on curve visibility selection --- src/ui/linechart/LinechartWidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/linechart/LinechartWidget.cc b/src/ui/linechart/LinechartWidget.cc index e2d331932..7e4521d91 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); -- 2.22.0