Skip to content
Snippets Groups Projects
Commit 99fee33f authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

Completion: Complete prematuraly only if invoked explicitly

Change-Id: I941a94df2f8fb86f340ee04338641fe50c55e1b2
Reviewed-on: http://codereview.qt.nokia.com/45


Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
parent 9e6f387b
No related branches found
No related tags found
No related merge requests found
...@@ -552,6 +552,7 @@ bool GenericProposalWidget::eventFilter(QObject *o, QEvent *e) ...@@ -552,6 +552,7 @@ bool GenericProposalWidget::eventFilter(QObject *o, QEvent *e)
if (ke->text().length() == 1 if (ke->text().length() == 1
&& m_d->m_completionListView->currentIndex().isValid() && m_d->m_completionListView->currentIndex().isValid()
&& m_d->m_reason == ExplicitlyInvoked
&& qApp->focusWidget() == o) { && qApp->focusWidget() == o) {
const QChar &typedChar = ke->text().at(0); const QChar &typedChar = ke->text().at(0);
IAssistProposalItem *item = IAssistProposalItem *item =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment