forked from qt-creator/qt-creator
Set focus to the editor after selection change in outline
Task-number: QTCREATORBUG-6306 Change-Id: Ia60193ba2c4204532798fb4f7eade434d7510ff5 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
committed by
Leandro Melo
parent
af290c14e8
commit
7abc4c18dc
@@ -185,6 +185,7 @@ void CppOutlineWidget::updateTextCursor(const QModelIndex &proxyIndex)
|
||||
|
||||
// line has to be 1 based, column 0 based!
|
||||
m_editor->gotoLine(symbol->line(), symbol->column() - 1);
|
||||
m_editor->setFocus();
|
||||
m_blockCursorSync = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user