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 {};