From e93c6b5955e34db034ad54fae93f9f11b9e03a04 Mon Sep 17 00:00:00 2001 From: Joe Taylor <joe@princeton.edu> Date: Wed, 12 Jun 2024 08:18:24 -0400 Subject: [PATCH] Revert "Trim SuperFox free text messages to 26 characters." This reverts commit 44432d7b1c41c8585a9256e1c60e15b1cc5dd33c. --- widgets/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index c03ab35cb..afc5bc495 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -9967,8 +9967,8 @@ void MainWindow::on_pbFreeText_clicked() bool ok; static QStringList items; if(items.isEmpty()) items << "HELLO TEST 1234..." << "CALL FROM 200 to 5000 HZ"; - m_freeTextMsg = QInputDialog::getItem(this, tr("Free Text Message"), - tr("Message:"), items, 0, true, &ok).left(26); + m_freeTextMsg = QInputDialog::getItem (this, tr("Free Text Message"), + tr("Message:"), items, 0, true, &ok); if(ok) { if(!m_freeTextMsg.isEmpty()) items.append(m_freeTextMsg); m_freeTextMsg=m_freeTextMsg.toUpper();