Commit 4d02fe4e authored by olliw42's avatar olliw42

change categroy name, adopting DonLakeFlyers comment

parent 5bbb26e5
......@@ -609,7 +609,7 @@ void ParameterManager::_setupDefaultComponentCategoryMap(void)
QString ParameterManager::getComponentCategory(int componentId)
{
if (_mavlinkCompIdHash.contains(componentId)) {
return _mavlinkCompIdHash.value(componentId) + QString(" (compId %1)").arg(componentId);
return QString("Component %1 (%2)").arg(_mavlinkCompIdHash.value(componentId)).arg(componentId);
}
QString componentCategoryPrefix = tr("Component ");
return QString("%1%2").arg(componentCategoryPrefix).arg(componentId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment