mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 02:12:37 -04:00
Revert "Change from a LineEdit to a ComboBox for SuperFox Free Text messages."
This reverts commit 6518f52a80a811b65f0c98b78dc44f18d8fa2573.
This commit is contained in:
parent
e93c6b5955
commit
c24f0402ef
@ -9965,12 +9965,9 @@ void MainWindow::on_pbFoxReset_clicked()
|
|||||||
void MainWindow::on_pbFreeText_clicked()
|
void MainWindow::on_pbFreeText_clicked()
|
||||||
{
|
{
|
||||||
bool ok;
|
bool ok;
|
||||||
static QStringList items;
|
m_freeTextMsg = QInputDialog::getText (this, tr("Free Text Message"),
|
||||||
if(items.isEmpty()) items << "HELLO TEST 1234..." << "CALL FROM 200 to 5000 HZ";
|
tr("Message:"), QLineEdit::Normal, m_freeTextMsg0, &ok);
|
||||||
m_freeTextMsg = QInputDialog::getItem (this, tr("Free Text Message"),
|
|
||||||
tr("Message:"), items, 0, true, &ok);
|
|
||||||
if(ok) {
|
if(ok) {
|
||||||
if(!m_freeTextMsg.isEmpty()) items.append(m_freeTextMsg);
|
|
||||||
m_freeTextMsg=m_freeTextMsg.toUpper();
|
m_freeTextMsg=m_freeTextMsg.toUpper();
|
||||||
m_freeTextMsg0=m_freeTextMsg;
|
m_freeTextMsg0=m_freeTextMsg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user