forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.0'
Conflicts: share/qtcreator/debugger/stdtypes.py src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp Change-Id: I5d86746d58960e41e01e725ccb2a6c00890f0dfd
This commit is contained in:
@@ -123,12 +123,18 @@ bool TodoOutputPane::canPrevious() const
|
||||
|
||||
void TodoOutputPane::goToNext()
|
||||
{
|
||||
m_todoTreeView->selectionModel()->select(nextModelIndex(), QItemSelectionModel::SelectCurrent);
|
||||
const QModelIndex nextIndex = nextModelIndex();
|
||||
m_todoTreeView->selectionModel()->setCurrentIndex(nextIndex, QItemSelectionModel::SelectCurrent
|
||||
| QItemSelectionModel::Rows);
|
||||
todoTreeViewClicked(nextIndex);
|
||||
}
|
||||
|
||||
void TodoOutputPane::goToPrev()
|
||||
{
|
||||
m_todoTreeView->selectionModel()->select(previousModelIndex(), QItemSelectionModel::SelectCurrent);
|
||||
const QModelIndex prevIndex = previousModelIndex();
|
||||
m_todoTreeView->selectionModel()->setCurrentIndex(prevIndex, QItemSelectionModel::SelectCurrent
|
||||
| QItemSelectionModel::Rows);
|
||||
todoTreeViewClicked(prevIndex);
|
||||
}
|
||||
|
||||
void TodoOutputPane::setScanningScope(ScanningScope scanningScope)
|
||||
|
||||
Reference in New Issue
Block a user