diff --git a/plugins/channelrx/demodadsb/adsbdemodgui.cpp b/plugins/channelrx/demodadsb/adsbdemodgui.cpp index 4d61c744f..7b1715497 100644 --- a/plugins/channelrx/demodadsb/adsbdemodgui.cpp +++ b/plugins/channelrx/demodadsb/adsbdemodgui.cpp @@ -1735,7 +1735,7 @@ void ADSBDemodGUI::setCallsign(Aircraft *aircraft, const QString& callsign) { aircraft->m_callsign = callsign; aircraft->m_callsignItem->setText(aircraft->m_callsign); - if (m_routeInfo->contains(aircraft->m_callsign)) + if (m_routeInfo && m_routeInfo->contains(aircraft->m_callsign)) { AircraftRouteInformation *route = m_routeInfo->value(aircraft->m_callsign); aircraft->m_depItem->setText(route->m_dep);