Skip to content

Commit

Permalink
Inspector: Stringify remote property values
Browse files Browse the repository at this point in the history
This prevents us from asserting if the remote sends us a property made
up of an array or object.
  • Loading branch information
awesomekling committed Mar 5, 2020
1 parent 8bbec97 commit ecc3967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DevTools/Inspector/RemoteObjectPropertyModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit ecc3967

Please sign in to comment.