forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.8' into 4.9
Change-Id: I8c11be2a6cb4301be4ef639ba25ee9735960db71
This commit is contained in:
@@ -409,7 +409,7 @@ void ThreadsHandler::setThreads(const GdbMi &data)
|
||||
if (!m_currentThread && threads.childCount() > 0)
|
||||
m_currentThread = rootItem()->childAt(0);
|
||||
|
||||
if (!m_currentThread) {
|
||||
if (m_currentThread) {
|
||||
const QModelIndex currentThreadIndex = m_currentThread->index();
|
||||
threadSwitcher()->setCurrentIndex(currentThreadIndex.row());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user