Procházet zdrojové kódy

Fix for #4014, changed to 2 instead of 3 chars to trigger search

demolitions před 9 roky
rodič
revize
4e59d1c51f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tools/editor/editor_help.cpp

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