mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Fix erroneous use of a potentially NULL pointer.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5604 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9950295679
commit
2b671dbd2e
@ -1542,8 +1542,10 @@ void MainWindow::freezeDecode(int n) //freezeDecode()
|
||||
void MainWindow::on_ClrAvgButton_clicked()
|
||||
{
|
||||
m_nclearave=1;
|
||||
if(m_msgAvgWidget != NULL) {
|
||||
if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg("");
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::msgAvgDecode2()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user