QmlJSInspector: Select only current selected item

Change-Id: Ibb52e8f1c065d37accc022740ef50b2817d52771
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-04-04 13:22:13 +02:00
parent d68900343f
commit cd460198d9

View File

@@ -615,6 +615,7 @@ void InspectorUi::showObject(const QmlDebugObjectReference &obj)
Debugger::QmlAdapter *qmlAdapter = m_clientProxy->qmlAdapter();
if (qmlAdapter)
qmlAdapter->setCurrentSelectedDebugInfo(obj.debugId(), displayName(obj));
m_clientProxy->setSelectedItemsByDebugId(QList<int>() << obj.debugId());
}
bool InspectorUi::isRoot(const QmlDebugObjectReference &obj) const
@@ -832,7 +833,6 @@ void InspectorUi::crumblePathElementClicked(const QVariant &data)
m_onCrumblePathClicked = true;
selectItems(debugIds);
m_clientProxy->setSelectedItemsByDebugId(debugIds);
}
bool InspectorUi::showExperimentalWarning()