Fixed quick open not showing enties with no search text, issue 11277

This commit is contained in:
Paulb23 2017-09-16 13:14:22 +00:00
parent 9c71b7b91f
commit afb1dd1e4c
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ Vector<Pair<String, Ref<Texture> > > EditorQuickOpen::_sort_fs(Vector<Pair<Strin
Vector<Pair<String, Ref<Texture> > > sorted_list;
if (search_text == String() || list.size() == 0)
return sorted_list;
return list;
Vector<float> scores;
scores.resize(list.size());