From 7e1413ca7be86fef1d18225aecf9c326241cbe88 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sat, 25 Feb 2023 17:05:45 +0000 Subject: [PATCH] Fix #1606 --- plugins/channelrx/heatmap/heatmapgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/heatmap/heatmapgui.cpp b/plugins/channelrx/heatmap/heatmapgui.cpp index e21683ef9..c045010bd 100644 --- a/plugins/channelrx/heatmap/heatmapgui.cpp +++ b/plugins/channelrx/heatmap/heatmapgui.cpp @@ -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();