1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Merge pull request #1607 from srcejon/fix_1606

Heat map: Fix crash when chart is not visible.
This commit is contained in:
Edouard Griffiths 2023-02-25 20:19:47 +01:00 committed by GitHub
commit 6b2705065b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1383,7 +1383,7 @@ void HeatMapGUI::addToPowerSeries(QDateTime dateTime, double average, double pul
void HeatMapGUI::updateAxis()
{
if (!m_powerPathLossSeries || (m_powerPathLossSeries->count() <= 1)) {
if (!m_powerAverageSeries || !m_powerPathLossSeries || (m_powerPathLossSeries->count() <= 1)) {
return;
}
QDateTime current = QDateTime::currentDateTime();