remove duplicate RUN and STOP commands for spectrum analyzer

This commit is contained in:
Jan Käberich 2024-06-29 12:47:44 +02:00
parent 4dea10552c
commit 5f2788467b
2 changed files with 1 additions and 11 deletions

View file

@ -296,7 +296,7 @@ bool SCPINode::remove(SCPINode *node)
bool SCPINode::add(SCPICommand *cmd)
{
if(nameCollision(cmd->name())) {
qWarning() << "Unable to add SCPI node, name collision: " << cmd->name();
qWarning() << "Unable to add SCPI command, name collision: " << cmd->name();
return false;
}
commands.push_back(cmd);