Fixed APRS passcode warning
This commit is contained in:
parent
7e903349ae
commit
23a554220b
@ -5310,6 +5310,11 @@ void MainWindow::createMessage(QString const& text){
|
||||
return;
|
||||
}
|
||||
|
||||
if(text.contains(" APRS:") && !m_aprsClient->isPasscodeValid()){
|
||||
MessageBox::warning_message(this, tr ("Please ensure a valid APRS passcode is set in the settings when sending an APRS packet."));
|
||||
return;
|
||||
}
|
||||
|
||||
resetMessageTransmitQueue();
|
||||
createMessageTransmitQueue(text);
|
||||
}
|
||||
|
@ -1673,13 +1673,6 @@ QStringList Varicode::buildMessageFrames(
|
||||
}
|
||||
qDebug() << "after:" << line;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// APRS:
|
||||
if(dirCmd.trimmed() == "APRS:" && !m_aprsClient->isPasscodeValid()){
|
||||
MessageBox::warning_message(this, tr ("Please enter a valid APRS passcode in the settings to send an APRS packet."));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if(useDat){
|
||||
|
Loading…
Reference in New Issue
Block a user