Browse Source

Merge pull request #11323 from Paulb23/quick_open_not_showing_issue_11277

Fixed quick open not showing entries with no search text, issue 11277
Rémi Verschelde 8 years ago
parent
commit
c47538d5bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/quick_open.cpp

+ 1 - 1
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());