forked from qt-creator/qt-creator
Qml Inspector: Implement and use setObjectIdList()
This way the items highlighted in Qt Creator are also marked in the application when the inspector is active. Change-Id: I89c3270cf5c108c1549ea01704bfd0e4b7a44ca5 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -219,6 +219,8 @@ void QmlInspectorAgent::watchDataSelected(quint64 id)
|
||||
if (id) {
|
||||
QTC_ASSERT(m_debugIdLocations.keys().contains(id), return);
|
||||
jumpToObjectDefinitionInEditor(m_debugIdLocations.value(id), id);
|
||||
if (m_toolsClient)
|
||||
m_toolsClient->setObjectIdList({ObjectReference(static_cast<int>(id))});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user