forked from qt-creator/qt-creator
ScriptConsole: Set empty context when not debugging
Change-Id: I63d110cc76e166db44870853fa3b168167f9760b Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
@@ -88,6 +88,8 @@ QmlConsoleItem *QmlConsoleManager::rootItem() const
|
||||
void QmlConsoleManager::setDebuggerEngine(Debugger::DebuggerEngine *debuggerEngine)
|
||||
{
|
||||
d->debuggerEngine = debuggerEngine;
|
||||
if (!debuggerEngine)
|
||||
setContext(QString());
|
||||
}
|
||||
|
||||
void QmlConsoleManager::setContext(const QString &context)
|
||||
|
||||
Reference in New Issue
Block a user