forked from qt-creator/qt-creator
QmlJSDebugger: Highlight items only if in Observer mode
Task-number: QTCREATORBUG-2672 Reviewed-by: Lasse Holmstedt
This commit is contained in:
@@ -716,9 +716,11 @@ void QDeclarativeViewObserverPrivate::_q_onCurrentObjectsChanged(QList<QObject*>
|
||||
gfxObjects << gfxObj;
|
||||
}
|
||||
}
|
||||
setSelectedItemsForTools(items);
|
||||
clearHighlight();
|
||||
highlight(gfxObjects, QDeclarativeViewObserverPrivate::IgnoreContext);
|
||||
if (designModeBehavior) {
|
||||
setSelectedItemsForTools(items);
|
||||
clearHighlight();
|
||||
highlight(gfxObjects, QDeclarativeViewObserverPrivate::IgnoreContext);
|
||||
}
|
||||
}
|
||||
|
||||
QString QDeclarativeViewObserver::idStringForObject(QObject *obj)
|
||||
|
||||
Reference in New Issue
Block a user