forked from qt-creator/qt-creator
Fixes: debugger: attaching to core files works now
This commit is contained in:
@@ -1076,7 +1076,9 @@ void DebuggerManager::setStatus(int status)
|
||||
|
||||
const bool starting = status == DebuggerProcessStartingUp;
|
||||
const bool running = status == DebuggerInferiorRunning;
|
||||
const bool ready = status == DebuggerInferiorStopped;
|
||||
|
||||
const bool ready = status == DebuggerInferiorStopped
|
||||
&& startMode() != AttachCore;
|
||||
|
||||
m_startExternalAction->setEnabled(!started && !starting);
|
||||
m_attachExternalAction->setEnabled(!started && !starting);
|
||||
|
||||
Reference in New Issue
Block a user