Skip to content
Snippets Groups Projects
Commit 492f4314 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlObserver: disabling script console when context not available/clear

Reviewed by: Kai Koehne
parent d1313344
No related branches found
No related tags found
No related merge requests found
......@@ -2228,6 +2228,8 @@ void DebuggerPluginPrivate::setInitialState()
theDebuggerAction(ExpandStack)->setEnabled(false);
theDebuggerAction(ExecuteCommand)->setEnabled(m_state == InferiorStopOk);
m_scriptConsoleWindow->setEnabled(false);
//emit m_plugin->stateChanged(m_state);
}
......@@ -2357,6 +2359,8 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|| m_state == DebuggerFinished
|| m_state == InferiorUnrunnable;
setBusyCursor(!notbusy);
m_scriptConsoleWindow->setEnabled(stopped);
}
void DebuggerPluginPrivate::resetLocation()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment