[AFV] Do not attempt to send if not connected

This commit is contained in:
Roland Rossgotterer
2019-10-10 13:24:17 +02:00
committed by Mat Sutcliffe
parent 30d764d72c
commit 90e5400049

View File

@@ -565,6 +565,8 @@ namespace BlackCore
return;
}
if (! m_connection->isConnected()) { return; }
const QString callsign = this->getCallsign();
const auto transmittingTransceivers = this->getTransmittingTransceivers(); // threadsafe
if (transmittingTransceivers.size() > 0)