1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

Inspector: Stringify remote property values

This prevents us from asserting if the remote sends us a property made
up of an array or object.
This commit is contained in:
Andreas Kling 2020-03-05 09:19:59 +01:00
parent 8bbec97824
commit ecc39678f5

View file

@ -56,7 +56,7 @@ GUI::Variant RemoteObjectPropertyModel::data(const GUI::ModelIndex& index, Role
case Column::Name:
return property.name;
case Column::Value:
return property.value;
return property.value.to_string();
}
}
return {};