diff options
author | David Schulz <david.schulz@qt.io> | 2022-06-24 12:30:32 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-06-29 04:43:56 +0000 |
commit | 8130d895c820bff633884536c4955751a2b107f4 (patch) | |
tree | 6b90998abd87e91f0536049397e4b35d4d682727 /src/plugins/texteditor/codeassist | |
parent | b20ffaa10946f8c895955847fcd471c89d073294 (diff) |
Revert "Editor: Update current argument in function hint"
This reverts commit 7d4d57165c7931ddcad613c4d0a5b3cba3cf859d.
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>
Diffstat (limited to 'src/plugins/texteditor/codeassist')
-rw-r--r-- | src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp b/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp index 926ebfde39..aab407acdb 100644 --- a/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp +++ b/src/plugins/texteditor/codeassist/functionhintproposalwidget.cpp @@ -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: |