From 80d798d7e303220cceaf840b492f46f35dd1467b Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 17 Oct 2018 14:31:23 -0400 Subject: [PATCH] Fixed APRS passcode warning --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }