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,
|
||||
&info);
|
||||
|
||||
if(!info.dirCmd.isEmpty()){
|
||||
qDebug() << "message contains cmd" << info.dirCmd;
|
||||
if(Varicode::isCommandBuffered(info.dirCmd)){
|
||||
// buffered commands should not allow typeahead
|
||||
// TODO: jsherer - i don't like setting this here, but it works for now...
|
||||
ui->extFreeTextMsgEdit->setReadOnly(true);
|
||||
}
|
||||
if(!info.dirCmd.isEmpty() && Varicode::isCommandChecksumed(info.dirCmd)){
|
||||
// checksummed commands should not allow typeahead
|
||||
// TODO: jsherer - i don't like setting this here, but it works for now...
|
||||
ui->extFreeTextMsgEdit->setReadOnly(true);
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user