diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2012-01-23 11:31:15 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-01-24 13:27:26 +0100 |
commit | a03087ceb93df2c3ceaca79ce8bcd7aa81f80a71 (patch) | |
tree | 091e9d6367fe7dee7e17f91ffd7861159cb96450 /src | |
parent | 5e0c8d28121fb5f20432a959d7637ee5a2bd5305 (diff) | |
download | qt-creator-a03087ceb93df2c3ceaca79ce8bcd7aa81f80a71.tar.gz |
Editor: Ensure cursor is visible before completion popup
Task-number: QTCREATORBUG-6843
Change-Id: I4f4108bdf37cb1451d998e226e97b3ee7fbc3a33
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/texteditor/basetexteditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 70a26da53d..4a48ba13da 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -6454,6 +6454,7 @@ void BaseTextEditorWidget::invokeAssist(AssistKind kind, IAssistProvider *provid { if (overwriteMode()) return; + ensureCursorVisible(); d->m_codeAssistant->invoke(kind, provider); } |