diff --git a/mainwindow.cpp b/mainwindow.cpp index 82eb86ec0..c573be0c5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1536,14 +1536,10 @@ void MainWindow::freezeDecode(int n) //freezeDecode() if((n%100)==2) on_DecodeButton_clicked (true); } -void MainWindow::clrAvg() -{ - m_nclearave=1; -} - void MainWindow::on_ClrAvgButton_clicked() { m_nclearave=1; + if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg(""); } void MainWindow::msgAvgDecode2() diff --git a/mainwindow.h b/mainwindow.h index 92514ac20..9e604b519 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -97,7 +97,6 @@ public slots: void p1Error(QProcess::ProcessError); void setXIT(int n); void setFreq4(int rxFreq, int txFreq); - void clrAvg(); void msgAvgDecode2(); protected: diff --git a/messageaveraging.ui b/messageaveraging.ui index 5bf4a7674..3883f6799 100644 --- a/messageaveraging.ui +++ b/messageaveraging.ui @@ -31,7 +31,7 @@ - UTC Sync DT Freq + UTC Sync DT Freq