mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-30 08:08:39 -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,7 +1542,9 @@ void MainWindow::freezeDecode(int n) //freezeDecode()
|
|||||||
void MainWindow::on_ClrAvgButton_clicked()
|
void MainWindow::on_ClrAvgButton_clicked()
|
||||||
{
|
{
|
||||||
m_nclearave=1;
|
m_nclearave=1;
|
||||||
if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg("");
|
if(m_msgAvgWidget != NULL) {
|
||||||
|
if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg("");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::msgAvgDecode2()
|
void MainWindow::msgAvgDecode2()
|
||||||
|
Loading…
Reference in New Issue
Block a user