Fixed duplicate acks printing
This commit is contained in:
parent
685c1be141
commit
55d76dc67f
@ -5597,12 +5597,12 @@ int MainWindow::writeMessageTextToUI(QDateTime date, QString text, int freq, boo
|
||||
}
|
||||
}
|
||||
|
||||
// fixup duplicate acks
|
||||
auto tc = c.document()->find(text);
|
||||
if(!tc.isNull()&& tc.blockNumber() == tc.document()->lastBlock().blockNumber()){
|
||||
if(!tc.isNull() && text.contains(" ACK ")){
|
||||
return tc.blockNumber();
|
||||
}
|
||||
|
||||
|
||||
if(found && !bold){
|
||||
c.clearSelection();
|
||||
c.insertText(text);
|
||||
|
Loading…
Reference in New Issue
Block a user