Skip to content
Snippets Groups Projects
Commit bb35b4d0 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Clear the completion.

parent 13a721d9
No related merge requests found
......@@ -661,6 +661,8 @@ static QList<TextEditor::CompletionItem> sortCompletionItems(QList<TextEditor::C
int CppCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
{
m_completions.clear();
int index = startCompletionHelper(editor);
if (index != -1) {
m_sortedCompletions = QtConcurrent::run(sortCompletionItems, m_completions);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment