Fixed a bug where if wfview started and the rig was in "center" spectrum

mode, the center checkbox would be checked, triggering setting the
center width per the pop-down menu. The code now disables the checkbox
signal method during the modification of the checkbox.
merge-requests/1/head
Elliott Liggett 2021-02-05 21:53:05 -08:00
rodzic 465c4506e2
commit dca22a3e37
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1377,7 +1377,9 @@ void wfmain::receiveSpectrumData(QByteArray spectrum, double startFreq, double e
void wfmain::receiveSpectrumFixedMode(bool isFixed)
{
ui->scopeCenterModeChk->blockSignals(true);
ui->scopeCenterModeChk->setChecked(!isFixed);
ui->scopeCenterModeChk->blockSignals(false);
}
void wfmain::handlePlotDoubleClick(QMouseEvent *me)