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:
commit
6b2705065b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user