QmlObserver: disabling script console when context not available/clear

Reviewed by: Kai Koehne
This commit is contained in:
Christiaan Janssen
2010-09-24 16:55:22 +02:00
parent d131334488
commit 492f4314ff

View File

@@ -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()