Fixed reply queuing when text is typed in the reply textbox

This commit is contained in:
Jordan Sherer 2018-11-03 01:31:24 -04:00
parent c9016d7378
commit 9f8583c8e2

View File

@ -8962,6 +8962,7 @@ void MainWindow::processCommandActivity() {
} }
#endif #endif
// well, if there's no reply, don't do anything...
if (reply.isEmpty()) { if (reply.isEmpty()) {
continue; continue;
} }
@ -8971,6 +8972,11 @@ void MainWindow::processCommandActivity() {
continue; continue;
} }
// do not queue for reply if there's text in the window
if(!ui->extFreeTextMsgEdit->toPlainText().isEmpty()){
continue;
}
// add @ALLCALLs to the @ALLCALL cache // add @ALLCALLs to the @ALLCALL cache
if(isAllCall){ if(isAllCall){
m_txAllcallCommandCache.insert(d.from, new QDateTime(now), 25); m_txAllcallCommandCache.insert(d.from, new QDateTime(now), 25);