mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
Inspector: Don't show child count in remote object tree
You can just open a node if you want to see its children.
This commit is contained in:
@@ -106,7 +106,7 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol
|
||||
return m_object_icon;
|
||||
}
|
||||
if (role == Role::Display) {
|
||||
return String::format("%s{%s} (%d)", remote_object->class_name.characters(), remote_object->address.characters(), remote_object->children.size());
|
||||
return String::format("%s{%s}", remote_object->class_name.characters(), remote_object->address.characters());
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user