summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-17 11:30:11 +0200
committerGitHub <noreply@github.com>2017-09-17 11:30:11 +0200
commitc47538d5bb60a2e332569f4fed759a4eb513ec52 (patch)
tree65d2abc192b161be53a748c1b41cf9070453667b /editor
parent2ca656fc38a7da6552b8d1bed88132062295748a (diff)
parentafb1dd1e4c7de5b2b6942b4019a553be72e12a6f (diff)
Merge pull request #11323 from Paulb23/quick_open_not_showing_issue_11277
Fixed quick open not showing entries with no search text, issue 11277
Diffstat (limited to 'editor')
-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());