mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
LP-571 change generic instance tree node name to actual object name
the other LP-571 issue is addressed by LP-567
This commit is contained in:
parent
bf3ce97e32
commit
7996675708
@ -248,7 +248,7 @@ DataObjectTreeItem *UAVObjectTreeModel::createDataObject(UAVDataObject *obj)
|
||||
|
||||
InstanceTreeItem *UAVObjectTreeModel::createDataObjectInstance(UAVDataObject *obj)
|
||||
{
|
||||
QString name = tr("Instance") + " " + QString::number((int)obj->getInstID());
|
||||
QString name = obj->getName() + " " + QString::number((int)obj->getInstID());
|
||||
InstanceTreeItem *item = new InstanceTreeItem(obj, name);
|
||||
|
||||
item->setHighlightManager(m_highlightManager);
|
||||
|
Loading…
Reference in New Issue
Block a user