Skip to content
Snippets Groups Projects
Commit a47b424e authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlInspector: corrected showing of items' id when added to the watch list

parent 239e4ca5
No related merge requests found
......@@ -219,7 +219,7 @@ void WatchTableModel::togglePropertyWatch(const QDeclarativeDebugObjectReference
delete watch;
watch = 0;
} else {
QString desc = (object.name().isEmpty() ? QLatin1String("<") + object.className() + QLatin1String(">") : object.name())
QString desc = (object.idString().isEmpty() ? QLatin1String("<") + object.className() + QLatin1String(">") : object.idString())
+ QLatin1String(".") + property.name();
addWatch(watch, desc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment