diff --git a/mainwindow.cpp b/mainwindow.cpp index c16099d..d233917 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5310,7 +5310,7 @@ void MainWindow::createMessage(QString const& text){ return; } - if(text.contains(" APRS:") && !m_aprsClient->isPasscodeValid()){ + 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; }