forked from qt-creator/qt-creator
Fixed completion list not appearing when function signature is shown
Task-numer: QTCREATORBUG-6052 Change-Id: Ic91df1d9abaa509fea25ed35f86583182cd61433 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
committed by
Leandro Melo
parent
19a06e3f2d
commit
4db1772a4f
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user