mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-21 19:48:54 -04:00
Trim SuperFox free text messages to 26 characters.
This commit is contained in:
parent
6518f52a80
commit
44432d7b1c
@ -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);
|
||||
m_freeTextMsg = QInputDialog::getItem(this, tr("Free Text Message"),
|
||||
tr("Message:"), items, 0, true, &ok).left(26);
|
||||
if(ok) {
|
||||
if(!m_freeTextMsg.isEmpty()) items.append(m_freeTextMsg);
|
||||
m_freeTextMsg=m_freeTextMsg.toUpper();
|
||||
|
Loading…
Reference in New Issue
Block a user