[sensors] Avoid breaking IDs of nodes within SensorTreeModel

Authored by davidedmundson on May 20 2020, 2:00 PM.

Description

[sensors] Avoid breaking IDs of nodes within SensorTreeModel

item->name despite the name, is an ID of the relevant segment in the
node.

It is not the user facing name. That's always in d->sensorInfos.

By changing it here when double clicking an item we get a metaDataChange
as the Sensor object is constructed, which in turn breaks a lot of model
assumptions.

BUG: 421696

Details

Committed
davidedmundsonMay 22 2020, 10:02 AM
Parents
R111:ccc9f1fab09f: Remove stray import
Branches
Unknown
Tags
Unknown
References
work/fix_nodes, refs/backups/branch-work/fix_nodes-1590141755