aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemolitions2016-03-18 17:07:07 +0100
committerRémi Verschelde2016-04-02 22:12:41 +0200
commit2bc4049b9b514b312d99393170807ff56ec67840 (patch)
treef0f355855b6c29461a82494306bb0d6885b85397
parent64a8fe6ad7bafdfa527c1d7da535d8febc04af9f (diff)
downloadgodot-2bc4049b9b514b312d99393170807ff56ec67840.tar.gz
godot-2bc4049b9b514b312d99393170807ff56ec67840.tar.zst
godot-2bc4049b9b514b312d99393170807ff56ec67840.zip
Fix for #4014, changed to 2 instead of 3 chars to trigger search
(cherry picked from commit 4e59d1c51fc504acf03e4287c13b4d4a6971207d)
-rw-r--r--tools/editor/editor_help.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp
index b05f60758..73340815d 100644
--- a/tools/editor/editor_help.cpp
+++ b/tools/editor/editor_help.cpp
@@ -92,7 +92,7 @@ void EditorHelpSearch::_update_search() {
DocData *doc=EditorHelp::get_doc_data();
String term = search_box->get_text();
- if (term.length()<3)
+ if (term.length()<2)
return;
TreeItem *root = search_options->create_item();