diff --git a/src/plugins/debugger/threadshandler.cpp b/src/plugins/debugger/threadshandler.cpp index cc0920fb121..286b58258f1 100644 --- a/src/plugins/debugger/threadshandler.cpp +++ b/src/plugins/debugger/threadshandler.cpp @@ -268,6 +268,7 @@ void ThreadsHandler::setCurrentThread(const Thread &thread) m_currentThread = thread; thread->update(); + threadSwitcher()->setCurrentIndex(thread->index().row()); } void ThreadsHandler::notifyGroupCreated(const QString &groupId, const QString &pid)