diff options
Diffstat (limited to 'search/search_quality/assessment_tool/main_model.cpp')
-rw-r--r-- | search/search_quality/assessment_tool/main_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/search_quality/assessment_tool/main_model.cpp b/search/search_quality/assessment_tool/main_model.cpp index 70111a32fb..066f1c8284 100644 --- a/search/search_quality/assessment_tool/main_model.cpp +++ b/search/search_quality/assessment_tool/main_model.cpp @@ -187,7 +187,7 @@ void MainModel::OnResultSelected(int index) CHECK_GREATER_OR_EQUAL(index, 0, ()); CHECK_LESS(index, foundResults.GetCount(), ()); - m_view->MoveViewportToResult(foundResults.GetResult(index)); + m_view->MoveViewportToResult(foundResults[index]); } void MainModel::OnNonFoundResultSelected(int index) |