Revert "Editor: Update current argument in function hint"

This reverts commit 7d4d57165c.

The change signal should be send from the editor widget, so no need to
call it again from the function hint widget, since it also cancels the
automatic proposal timeout that triggers the automatic completion
request.

Fixes: QTCREATORBUG-27305
Fixes: QTCREATORBUG-26959
Change-Id: I37810e0a6083396bd0375b4ae28aa07389a5079c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2022-06-24 12:30:32 +02:00
parent b20ffaa109
commit 8130d895c8

View File

@@ -299,8 +299,6 @@ bool FunctionHintProposalWidget::eventFilter(QObject *obj, QEvent *e)
if (d->m_model && d->m_model->size() > 1)
return false;
}
if (QTC_GUARD(d->m_assistant))
d->m_assistant->notifyChange();
}
break;
case QEvent::WindowDeactivate: