diff --git a/src/plugins/texteditor/codeassist/genericproposalwidget.cpp b/src/plugins/texteditor/codeassist/genericproposalwidget.cpp index aad4096f811..2d117514ac3 100644 --- a/src/plugins/texteditor/codeassist/genericproposalwidget.cpp +++ b/src/plugins/texteditor/codeassist/genericproposalwidget.cpp @@ -476,7 +476,7 @@ bool GenericProposalWidget::updateAndCheck(const QString &prefix) d->m_model->sort(prefix); d->m_completionListView->reset(); - // Try to find the previosly explicit selection (if any). If we can find the item set it + // Try to find the previously explicit selection (if any). If we can find the item set it // as the current. Otherwise (it might have been filtered out) select the first row. if (d->m_explicitlySelected) { Q_ASSERT(preferredItemId != -1);