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:
David Schulz
2012-01-11 15:21:41 +01:00
committed by Leandro Melo
parent af290c14e8
commit 7abc4c18dc

View File

@@ -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;
}
}