diff --git a/spectrumscope.cpp b/spectrumscope.cpp index 3646fc3..2de4920 100644 --- a/spectrumscope.cpp +++ b/spectrumscope.cpp @@ -269,10 +269,12 @@ spectrumScope::spectrumScope(QWidget *parent) }); connect(configBottom, &QSlider::valueChanged, this, [=](const int &val) { this->plotFloor = val; + this->wfFloor = val; this->setRange(plotFloor,plotCeiling); }); connect(configTop, &QSlider::valueChanged, this, [=](const int &val) { this->plotCeiling = val; + this->wfCeiling = val; this->setRange(plotFloor,plotCeiling); }); diff --git a/wfmain.cpp b/wfmain.cpp index d27c08a..86b3c89 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -5068,9 +5068,9 @@ void wfmain::receiveMonitor(bool en) { qInfo() << "Text color:" << colorPrefs->textColor.name(); if (en) - ui->monitorLabel->setText(QString("Mon").arg(colorPrefs->textColor.name())); + ui->monitorLabel->setText(QString("Mon").arg(colorPrefs->textColor.name())); else - ui->monitorLabel->setText(QString("Mon").arg(colorPrefs->textColor.name())); + ui->monitorLabel->setText(QString("Mon").arg(colorPrefs->textColor.name())); emit sendLevel(funcMonitor,en); }