Fixed buffered vs checksummed messages
This commit is contained in:
parent
3a0e5341df
commit
587ec5ee3c
@ -6291,13 +6291,10 @@ QList<QPair<QString, int>> MainWindow::buildMessageFrames(const QString &text){
|
|||||||
m_nSubMode,
|
m_nSubMode,
|
||||||
&info);
|
&info);
|
||||||
|
|
||||||
if(!info.dirCmd.isEmpty()){
|
if(!info.dirCmd.isEmpty() && Varicode::isCommandChecksumed(info.dirCmd)){
|
||||||
qDebug() << "message contains cmd" << info.dirCmd;
|
// checksummed commands should not allow typeahead
|
||||||
if(Varicode::isCommandBuffered(info.dirCmd)){
|
// TODO: jsherer - i don't like setting this here, but it works for now...
|
||||||
// buffered commands should not allow typeahead
|
ui->extFreeTextMsgEdit->setReadOnly(true);
|
||||||
// TODO: jsherer - i don't like setting this here, but it works for now...
|
|
||||||
ui->extFreeTextMsgEdit->setReadOnly(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
Reference in New Issue
Block a user