forked from qt-creator/qt-creator
GenericProposalWidget: Fix typo
Change-Id: I131ccffa3e80092c1b79a28305974c57d32844ea Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
9f136678be
commit
81d417ce36
@@ -476,7 +476,7 @@ bool GenericProposalWidget::updateAndCheck(const QString &prefix)
|
|||||||
d->m_model->sort(prefix);
|
d->m_model->sort(prefix);
|
||||||
d->m_completionListView->reset();
|
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.
|
// as the current. Otherwise (it might have been filtered out) select the first row.
|
||||||
if (d->m_explicitlySelected) {
|
if (d->m_explicitlySelected) {
|
||||||
Q_ASSERT(preferredItemId != -1);
|
Q_ASSERT(preferredItemId != -1);
|
||||||
|
Reference in New Issue
Block a user