Commit 4db1772a authored by Oto Magaldadze's avatar Oto Magaldadze Committed by Leandro Melo
Browse files

Fixed completion list not appearing when function signature is shown



Task-numer: QTCREATORBUG-6052

Change-Id: Ic91df1d9abaa509fea25ed35f86583182cd61433
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent 19a06e3f
......@@ -400,12 +400,15 @@ void CodeAssistantPrivate::notifyChange()
stopAutomaticProposalTimer();
if (isDisplayingProposal()) {
if (m_textEditor->position() < m_proposal->basePosition())
if (m_textEditor->position() < m_proposal->basePosition()) {
destroyContext();
else
} else {
m_proposalWidget->updateProposal(
m_textEditor->textAt(m_proposal->basePosition(),
m_textEditor->position() - m_proposal->basePosition()));
if (m_proposal->isFragile())
startAutomaticProposalTimer();
}
}
}
......
Markdown is supported
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