mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
More consistent Tx Next button behaviour
This commit is contained in:
parent
45f28aff45
commit
ec623deb9f
@ -3742,6 +3742,7 @@ void MainWindow::guiUpdate()
|
|||||||
m_tuneup=false; //This is not an ATU tuneup
|
m_tuneup=false; //This is not an ATU tuneup
|
||||||
bool btx = m_auto && m_WSPR_tx_next; // To Tx, we need m_auto and
|
bool btx = m_auto && m_WSPR_tx_next; // To Tx, we need m_auto and
|
||||||
// scheduled transmit
|
// scheduled transmit
|
||||||
|
m_WSPR_tx_next = false;
|
||||||
if(btx) {
|
if(btx) {
|
||||||
m_ntr=-1; //This says we will have transmitted
|
m_ntr=-1; //This says we will have transmitted
|
||||||
ui->pbTxNext->setChecked (false);
|
ui->pbTxNext->setChecked (false);
|
||||||
@ -5756,8 +5757,6 @@ void MainWindow::on_tx6_editingFinished() //tx6 edited
|
|||||||
void MainWindow::on_RoundRobin_currentTextChanged(QString text)
|
void MainWindow::on_RoundRobin_currentTextChanged(QString text)
|
||||||
{
|
{
|
||||||
ui->sbTxPercent->setEnabled (text == tr ("Random"));
|
ui->sbTxPercent->setEnabled (text == tr ("Random"));
|
||||||
m_WSPR_tx_next = false; // cancel any pending Tx to avoid
|
|
||||||
// undesirable consecutive Tx periods
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -8138,7 +8137,6 @@ void MainWindow::on_pbTxNext_clicked(bool b)
|
|||||||
{
|
{
|
||||||
if (b && !ui->autoButton->isChecked ())
|
if (b && !ui->autoButton->isChecked ())
|
||||||
{
|
{
|
||||||
m_WSPR_tx_next = false; // cancel any pending start from schedule
|
|
||||||
ui->autoButton->click (); // make sure Tx is possible
|
ui->autoButton->click (); // make sure Tx is possible
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user