1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-15 16:03:42 -04: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
+1 -1
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();