Commit fda0d238 authored by Lorenz Meier's avatar Lorenz Meier

Fixed slot on curve visibility selection

parent 4afb95a6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment