Parcourir la source

Inspector: Stringify remote property values

This prevents us from asserting if the remote sends us a property made
up of an array or object.
Andreas Kling il y a 5 ans
Parent
commit
ecc39678f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      DevTools/Inspector/RemoteObjectPropertyModel.cpp

+ 1 - 1
DevTools/Inspector/RemoteObjectPropertyModel.cpp

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