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

This commit is contained in:
Kai Koehne
2010-10-25 09:38:54 +02:00
parent c43496d035
commit b9cb5b973b

View File

@@ -129,6 +129,11 @@ void QmlJSObserverClient::setCurrentObjects(const QList<int> &debugIds) {
if (!m_connection || !m_connection->isConnected())
return;
if (debugIds == m_currentDebugIds)
return;
m_currentDebugIds = debugIds;
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);