forked from qt-creator/qt-creator
Debugger: Fix runtime warning if QmlJsInspector plugin is not loaded
Change-Id: I9c8132b4af2d1664622e4574e0c442a96b88c778 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -355,7 +355,7 @@ void DebuggerMainWindowPrivate::activateQmlCppLayout()
|
||||
ICore *core = ICore::instance();
|
||||
Context qmlCppContext = m_contextsForLanguage.value(QmlLanguage);
|
||||
qmlCppContext.add(m_contextsForLanguage.value(CppLanguage));
|
||||
if (m_toolBars.contains(QmlLanguage))
|
||||
if (m_toolBars.value(QmlLanguage))
|
||||
m_toolBarStack->setCurrentWidget(m_toolBars.value(QmlLanguage));
|
||||
|
||||
if (m_previousDebugLanguages & QmlLanguage) {
|
||||
|
||||
Reference in New Issue
Block a user