mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Make FST4W scheduling l10n agnostic
This commit is contained in:
parent
09dc647c12
commit
94d66bc848
@ -5741,7 +5741,7 @@ void MainWindow::on_tx6_editingFinished() //tx6 edited
|
||||
|
||||
void MainWindow::on_RoundRobin_currentTextChanged(QString text)
|
||||
{
|
||||
ui->sbTxPercent->setEnabled(text=="Random");
|
||||
ui->sbTxPercent->setEnabled (text == tr ("Random"));
|
||||
m_WSPR_tx_next = false; // cancel any pending Tx to avoid
|
||||
// undesirable consecutive Tx periods
|
||||
}
|
||||
@ -6642,7 +6642,7 @@ void MainWindow::WSPR_config(bool b)
|
||||
ui->label_7->setVisible(!b and ui->cbMenus->isChecked());
|
||||
ui->logQSOButton->setVisible(!b);
|
||||
ui->DecodeButton->setEnabled(!b);
|
||||
ui->sbTxPercent->setEnabled (m_mode != "FST4W" || "Random" == ui->RoundRobin->currentText ());
|
||||
ui->sbTxPercent->setEnabled (m_mode != "FST4W" || tr ("Random") == ui->RoundRobin->currentText ());
|
||||
ui->band_hopping_group_box->setVisible(true);
|
||||
ui->RoundRobin->setVisible(m_mode=="FST4W");
|
||||
ui->RoundRobin->lineEdit()->setAlignment(Qt::AlignCenter);
|
||||
@ -8141,7 +8141,7 @@ void MainWindow::on_pbTxNext_clicked(bool b)
|
||||
void MainWindow::WSPR_scheduling ()
|
||||
{
|
||||
QString t=ui->RoundRobin->currentText();
|
||||
if(m_mode=="FST4W" and t!="Random") {
|
||||
if(m_mode=="FST4W" and t != tr ("Random")) {
|
||||
bool ok;
|
||||
int i=t.left (1).toInt (&ok) - 1;
|
||||
if (!ok) return;
|
||||
|
Loading…
Reference in New Issue
Block a user