Debugger: Re-enable thread combo box for core files

This fixes a regression introduced after 2.5

Task-number: QTCREATORBUG-9110
Change-Id: I72450d7c6797910e789f78c7478fc7dd3d6f6228
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2013-04-11 17:56:25 +02:00
parent 567098f210
commit b5eac91b54

View File

@@ -2311,7 +2311,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
m_attachToRemoteServerAction->setEnabled(true); m_attachToRemoteServerAction->setEnabled(true);
m_attachToRunningApplication->setEnabled(true); m_attachToRunningApplication->setEnabled(true);
m_threadBox->setEnabled(state == InferiorStopOk); m_threadBox->setEnabled(state == InferiorStopOk || state == InferiorUnrunnable);
const bool isCore = engine->startParameters().startMode == AttachCore; const bool isCore = engine->startParameters().startMode == AttachCore;
const bool stopped = state == InferiorStopOk; const bool stopped = state == InferiorStopOk;