From 159058d9eb7ab233f94cc6a0a5b0e7e8f691a041 Mon Sep 17 00:00:00 2001 From: Aurindam Jana <aurindam.jana@nokia.com> Date: Thu, 29 Mar 2012 10:47:49 +0200 Subject: [PATCH] QmlJSInspector: UI changes The dock widgets are always enabled. Follow same behaviour for QmlJSInspector. Change-Id: Ia13a8041c96c0ff92d6f67920c2a5f908f520ad0 Reviewed-by: Kai Koehne <kai.koehne@nokia.com> --- src/plugins/qmljsinspector/qmljsinspector.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/qmljsinspector/qmljsinspector.cpp b/src/plugins/qmljsinspector/qmljsinspector.cpp index da9f5fb4cf9..e92ddb33fa6 100644 --- a/src/plugins/qmljsinspector/qmljsinspector.cpp +++ b/src/plugins/qmljsinspector/qmljsinspector.cpp @@ -637,15 +637,15 @@ void InspectorUi::changePropertyValue(int debugId,const QString &propertyName, c void InspectorUi::enable() { m_toolBar->enable(); - m_crumblePath->setEnabled(true); - m_propertyInspector->setEnabled(true); + m_crumblePath->clear(); + m_propertyInspector->clear(); } void InspectorUi::disable() { m_toolBar->disable(); - m_crumblePath->setEnabled(false); - m_propertyInspector->setEnabled(false); + m_crumblePath->clear(); + m_propertyInspector->clear(); } QmlDebugObjectReference InspectorUi::objectReferenceForLocation(const QString &fileName, int cursorPosition) const -- GitLab