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-by: default avatarRoberto Raggi <>
parent 9e6f387b
......@@ -552,6 +552,7 @@ bool GenericProposalWidget::eventFilter(QObject *o, QEvent *e)
if (ke->text().length() == 1
&& m_d->m_completionListView->currentIndex().isValid()
&& m_d->m_reason == ExplicitlyInvoked
&& qApp->focusWidget() == o) {
const QChar &typedChar = ke->text().at(0);
IAssistProposalItem *item =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment