mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
Revert "Change from a LineEdit to a ComboBox for SuperFox Free Text messages."
This reverts commit 6518f52a80
.
This commit is contained in:
parent
e93c6b5955
commit
c24f0402ef
@ -9965,12 +9965,9 @@ void MainWindow::on_pbFoxReset_clicked()
|
||||
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::getText (this, tr("Free Text Message"),
|
||||
tr("Message:"), QLineEdit::Normal, m_freeTextMsg0, &ok);
|
||||
if(ok) {
|
||||
if(!m_freeTextMsg.isEmpty()) items.append(m_freeTextMsg);
|
||||
m_freeTextMsg=m_freeTextMsg.toUpper();
|
||||
m_freeTextMsg0=m_freeTextMsg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user