Fixed bugginess when displaying rx activity that are buffered commands
This commit is contained in:
parent
c779bf4ca0
commit
49224f5b81
@ -3221,12 +3221,10 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
decodedtext.bits() == Varicode::FT8CallLast
|
decodedtext.bits() == Varicode::FT8CallLast
|
||||||
);
|
);
|
||||||
|
|
||||||
qDebug() << "frame valid?" << bValidFrame;
|
qDebug() << "valid" << bValidFrame << "decoded text" << decodedtext.message();
|
||||||
qDebug() << "decoded text" << decodedtext.message();
|
|
||||||
|
|
||||||
//Left (Band activity) window
|
//Left (Band activity) window
|
||||||
if(!bAvgMsg && bValidFrame) {
|
if(bValidFrame) {
|
||||||
if(m_mode=="FT8"){
|
|
||||||
// Parse General Activity
|
// Parse General Activity
|
||||||
#if 1
|
#if 1
|
||||||
bool shouldParseGeneralActivity = true;
|
bool shouldParseGeneralActivity = true;
|
||||||
@ -3426,7 +3424,6 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Right (Rx Frequency) window
|
//Right (Rx Frequency) window
|
||||||
@ -5567,12 +5564,17 @@ void MainWindow::displayTextForFreq(QString text, int freq, QDateTime date, bool
|
|||||||
c.deleteChar();
|
c.deleteChar();
|
||||||
c.deleteChar();
|
c.deleteChar();
|
||||||
block = -1;
|
block = -1;
|
||||||
|
m_rxFrameBlockNumbers.remove(freq);
|
||||||
}
|
}
|
||||||
if(newLine){
|
if(newLine){
|
||||||
|
m_rxFrameBlockNumbers.remove(freq);
|
||||||
block = -1;
|
block = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_rxFrameBlockNumbers[freq] = writeMessageTextToUI(date, text, freq, bold, block);
|
block = writeMessageTextToUI(date, text, freq, bold, block);
|
||||||
|
if(!text.contains("\u2301")){
|
||||||
|
m_rxFrameBlockNumbers.insert(freq, block);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int MainWindow::writeMessageTextToUI(QDateTime date, QString text, int freq, bool bold, int block){
|
int MainWindow::writeMessageTextToUI(QDateTime date, QString text, int freq, bool bold, int block){
|
||||||
|
Loading…
Reference in New Issue
Block a user