b
This commit is contained in:
@@ -737,7 +737,7 @@ void MAVLinkInspector::updateField(mavlink_message_t* msg, const mavlink_message
|
||||
{
|
||||
if(scope)
|
||||
{
|
||||
scope->setSerieData(QString::number(msg->sysid) + "." + item->data(0,Qt::DisplayRole).toString(),item->data(1,Qt::DisplayRole));
|
||||
scope->chartView->setSerieData(QString::number(msg->sysid) + "." + item->data(0,Qt::DisplayRole).toString(),item->data(1,Qt::DisplayRole));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -787,7 +787,7 @@ void MAVLinkInspector::on_treeWidget_itemChanged(QTreeWidgetItem *item, int colu
|
||||
{
|
||||
QString str = item->parent()->parent()->text(0);
|
||||
str = str.mid(str.indexOf(' ') + 1);
|
||||
scope->removeSerie(str + "." + item->data(0,Qt::DisplayRole).toString());
|
||||
scope->chartView->removeSerie(str + "." + item->data(0,Qt::DisplayRole).toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user