summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2017-09-16 13:14:22 +0000
committerPaulb23 <p_batty@hotmail.co.uk>2017-09-16 13:14:22 +0000
commitafb1dd1e4c7de5b2b6942b4019a553be72e12a6f (patch)
tree76acb0c441560a22a84432bbc7cdea238f147d2e
parent9c71b7b91f7215828951c96f3d75b55765bdbd5a (diff)
Fixed quick open not showing enties with no search text, issue 11277
-rw-r--r--editor/quick_open.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/quick_open.cpp b/editor/quick_open.cpp
index b92ebed167..4bcbe073ee 100644
--- a/editor/quick_open.cpp
+++ b/editor/quick_open.cpp
@@ -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());