Skip to content

Commit

Permalink
A tiny improvement for Search Tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Sep 19, 2023
1 parent 29a76e4 commit 8ac80d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/SearchDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,9 @@ QStringList SearchDialog::listMatchingRecentObjects(const QString& objPrefix, in
if (result.size() >= maxNbItem)
break;
}
stringLengthCompare comparator;
std::sort(result.begin(), result.end(), comparator);

return result;
}

Expand Down

0 comments on commit 8ac80d3

Please sign in to comment.