forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.8'
Conflicts: src/plugins/android/androidrunnerworker.cpp Change-Id: Ibd8b99435365fb7e7d488313fd1d2b3a75adad1b
This commit is contained in:
@@ -408,6 +408,11 @@ void ThreadsHandler::setThreads(const GdbMi &data)
|
||||
|
||||
if (!m_currentThread && threads.childCount() > 0)
|
||||
m_currentThread = rootItem()->childAt(0);
|
||||
|
||||
if (!m_currentThread) {
|
||||
const QModelIndex currentThreadIndex = m_currentThread->index();
|
||||
threadSwitcher()->setCurrentIndex(currentThreadIndex.row());
|
||||
}
|
||||
}
|
||||
|
||||
QAbstractItemModel *ThreadsHandler::model()
|
||||
|
||||
Reference in New Issue
Block a user