Skip to content
Snippets Groups Projects
Commit b9cb5b97 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJSInspector: Don't send update if selection hasn't changed

parent c43496d0
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,11 @@ void QmlJSObserverClient::setCurrentObjects(const QList<int> &debugIds) { ...@@ -129,6 +129,11 @@ void QmlJSObserverClient::setCurrentObjects(const QList<int> &debugIds) {
if (!m_connection || !m_connection->isConnected()) if (!m_connection || !m_connection->isConnected())
return; return;
if (debugIds == m_currentDebugIds)
return;
m_currentDebugIds = debugIds;
QByteArray message; QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly); QDataStream ds(&message, QIODevice::WriteOnly);
......
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