Fixed quick open not showing enties with no search text, issue 11277
This commit is contained in:
parent
9c71b7b91f
commit
afb1dd1e4c
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ Vector<Pair<String, Ref<Texture> > > EditorQuickOpen::_sort_fs(Vector<Pair<Strin
|
||||||
Vector<Pair<String, Ref<Texture> > > sorted_list;
|
Vector<Pair<String, Ref<Texture> > > sorted_list;
|
||||||
|
|
||||||
if (search_text == String() || list.size() == 0)
|
if (search_text == String() || list.size() == 0)
|
||||||
return sorted_list;
|
return list;
|
||||||
|
|
||||||
Vector<float> scores;
|
Vector<float> scores;
|
||||||
scores.resize(list.size());
|
scores.resize(list.size());
|
||||||
|
|
Loading…
Reference in a new issue