Commit b9cb5b97 authored by Kai Koehne's avatar Kai Koehne
Browse files

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

parent c43496d0
...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment