From b5eac91b5480c50e930a8331bc41fbc5be5f83d9 Mon Sep 17 00:00:00 2001
From: hjk <hjk121@nokiamail.com>
Date: Thu, 11 Apr 2013 17:56:25 +0200
Subject: [PATCH] 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>
---
 src/plugins/debugger/debuggerplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 6c19122e103..1ca6e317156 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2311,7 +2311,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
     m_attachToRemoteServerAction->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 stopped = state == InferiorStopOk;
-- 
GitLab