mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-26 20:14:24 -04:00
Ensure Plus 2kHz Check Box is disabled in Transmit when required.
The Plus 2 kHz check box should not be enabled during transmit if the "Allow Tx Frequency Changes While Transmitting" is not checked. Also fixed a defect that caused the disabled during Tx state of some widgets to not clear due to transmit or tune period being shorter than a poll interval. Fixed by ensuring PTT changes are always signalled rather than waiting for the next poll. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4352 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+4
-2
@@ -2987,7 +2987,7 @@ void MainWindow::transmitDisplay (bool transmitting)
|
||||
m_btxok=true;
|
||||
}
|
||||
|
||||
auto QSY_allowed = !transmitting || m_config.tx_QSY_allowed ();
|
||||
auto QSY_allowed = !transmitting || m_config.tx_QSY_allowed () || !m_config.split_mode ();
|
||||
if (ui->cbTxLock->isChecked ())
|
||||
{
|
||||
ui->RxFreqSpinBox->setEnabled (QSY_allowed);
|
||||
@@ -2996,7 +2996,9 @@ void MainWindow::transmitDisplay (bool transmitting)
|
||||
ui->TxFreqSpinBox->setEnabled (QSY_allowed);
|
||||
ui->pbR2T->setEnabled (QSY_allowed);
|
||||
ui->cbTxLock->setEnabled (QSY_allowed);
|
||||
ui->cbPlus2kHz->setEnabled (QSY_allowed);
|
||||
|
||||
// only allow +2kHz when not transmitting or if TX QSYs are allowed
|
||||
ui->cbPlus2kHz->setEnabled (!transmitting || m_config.tx_QSY_allowed ());
|
||||
|
||||
// the following are always disallowed in transmit
|
||||
ui->menuMode->setEnabled (!transmitting);
|
||||
|
||||
Reference in New Issue
Block a user