mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-25 05:29:16 -04: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
55cdeea079
commit
7dda2c22ef
@ -1542,7 +1542,9 @@ void MainWindow::freezeDecode(int n) //freezeDecode()
|
||||
void MainWindow::on_ClrAvgButton_clicked()
|
||||
{
|
||||
m_nclearave=1;
|
||||
if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg("");
|
||||
if(m_msgAvgWidget != NULL) {
|
||||
if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg("");
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::msgAvgDecode2()
|
||||
|
Loading…
Reference in New Issue
Block a user