mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-21 19:48:54 -04:00
Tentative fix to keep the transmitted signal report constant during a QSO. Please test!
This commit is contained in:
parent
ade40fabf5
commit
70f460355b
@ -4783,6 +4783,7 @@ void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
|
||||
|
||||
void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifiers modifiers)
|
||||
{
|
||||
m_lastQSOProgress=m_QSOProgress;
|
||||
// decode keyboard modifiers we are interested in
|
||||
auto shift = modifiers.testFlag (Qt::ShiftModifier);
|
||||
auto ctrl = modifiers.testFlag (Qt::ControlModifier);
|
||||
@ -5188,7 +5189,11 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
|
||||
rpt=QString::number(n);
|
||||
}
|
||||
|
||||
ui->rptSpinBox->setValue(n);
|
||||
qDebug() << "aa" << m_lastQSOProgress << m_QSOProgress << rpt << m_lastMessageSent.trimmed();
|
||||
// Keep signal report fixed during a QSO.
|
||||
if((m_lastQSOProgress < REPORT or m_lastQSOProgress > ROGER_REPORT) and
|
||||
(m_QSOProgress==REPORT or m_QSOProgress==ROGER_REPORT)) ui->rptSpinBox->setValue(n);
|
||||
|
||||
// Don't genStdMsgs if we're already sending 73, or a "TU; " msg is queued.
|
||||
m_bTUmsg=false; //### Temporary: disable use of "TU;" messages
|
||||
if (!m_nTx73 and !m_bTUmsg) {
|
||||
|
@ -483,6 +483,7 @@ private:
|
||||
qint32 m_earlyDecode=41;
|
||||
qint32 m_earlyDecode2=47;
|
||||
qint32 m_nDecodes=0;
|
||||
qint32 m_lastQSOProgress=0;
|
||||
|
||||
bool m_btxok; //True if OK to transmit
|
||||
bool m_diskData;
|
||||
|
Loading…
Reference in New Issue
Block a user