summaryrefslogtreecommitdiff
path: root/editor/quick_open.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/quick_open.cpp')
-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 7868414d89..b4ab6493ef 100644
--- a/editor/quick_open.cpp
+++ b/editor/quick_open.cpp
@@ -79,7 +79,7 @@ void EditorQuickOpen::_build_search_cache(EditorFileSystemDirectory *p_efsd) {
void EditorQuickOpen::_update_search() {
const String search_text = search_box->get_text();
- const bool empty_search = search_text == "";
+ const bool empty_search = search_text.is_empty();
// Filter possible candidates.
Vector<Entry> entries;