forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Kai Koehne
parent
c59766da4d
commit
159058d9eb
@@ -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
|
||||
|
Reference in New Issue
Block a user