summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlcppengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlcppengine.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp
index 7248d7846c..a427700512 100644
--- a/src/plugins/debugger/qml/qmlcppengine.cpp
+++ b/src/plugins/debugger/qml/qmlcppengine.cpp
@@ -122,6 +122,14 @@ void QmlCppEngine::updateItem(const QByteArray &iname)
m_activeEngine->updateItem(iname);
}
+void QmlCppEngine::expandItem(const QByteArray &iname)
+{
+ if (iname.startsWith("inspect."))
+ m_qmlEngine->expandItem(iname);
+ else
+ m_activeEngine->expandItem(iname);
+}
+
void QmlCppEngine::selectWatchData(const QByteArray &iname)
{
if (iname.startsWith("inspect."))