mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Disable auto Tx before logging dialog shown even if disable Tx on 73 is not set
This commit is contained in:
parent
2ff4f34416
commit
cefadfeaa3
@ -5485,6 +5485,14 @@ void MainWindow::on_genStdMsgsPushButton_clicked() //genStdMsgs button
|
|||||||
|
|
||||||
void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
||||||
{
|
{
|
||||||
|
if (SpecOp::FOX != m_config.special_op_id ())
|
||||||
|
{
|
||||||
|
// ensure that auto Tx is disabled even if clear DX call & grid
|
||||||
|
// on 73 is not checked, unless in Fox mode where it is allowed
|
||||||
|
// to be a robot.
|
||||||
|
auto_tx_mode (false);
|
||||||
|
}
|
||||||
|
|
||||||
if (!m_hisCall.size ()) {
|
if (!m_hisCall.size ()) {
|
||||||
MessageBox::warning_message (this, tr ("Warning: DX Call field is empty."));
|
MessageBox::warning_message (this, tr ("Warning: DX Call field is empty."));
|
||||||
}
|
}
|
||||||
@ -5562,7 +5570,6 @@ void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(m_config.clear_DX () and SpecOp::HOUND != m_config.special_op_id()) clearDX ();
|
if(m_config.clear_DX () and SpecOp::HOUND != m_config.special_op_id()) clearDX ();
|
||||||
auto_tx_mode (false);
|
|
||||||
m_dateTimeQSOOn = QDateTime {};
|
m_dateTimeQSOOn = QDateTime {};
|
||||||
auto special_op = m_config.special_op_id ();
|
auto special_op = m_config.special_op_id ();
|
||||||
if (SpecOp::NONE < special_op && special_op < SpecOp::FOX &&
|
if (SpecOp::NONE < special_op && special_op < SpecOp::FOX &&
|
||||||
|
Loading…
Reference in New Issue
Block a user