aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_help.cpp
diff options
context:
space:
mode:
authorGeorge Marques2016-06-12 13:43:31 -0300
committerGeorge Marques2016-06-12 14:53:03 -0300
commit68868aabc6f27a8facd8fe3ecb5719bc50f0f3f4 (patch)
tree6f5d9ec78f4f3f20a22a532f26c67c88c2b10ef6 /tools/editor/editor_help.cpp
parenta6c37d2b5d058d3bad2a942d965564c5054424c5 (diff)
downloadgodot-68868aabc6f27a8facd8fe3ecb5719bc50f0f3f4.tar.gz
godot-68868aabc6f27a8facd8fe3ecb5719bc50f0f3f4.tar.zst
godot-68868aabc6f27a8facd8fe3ecb5719bc50f0f3f4.zip
Diffstat (limited to 'tools/editor/editor_help.cpp')
-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 ac9feacd4..0b60db5ee 100644
--- a/tools/editor/editor_help.cpp
+++ b/tools/editor/editor_help.cpp
@@ -453,7 +453,7 @@ void EditorHelpIndex::_update_class_list() {
String type = E->key();
while(type != "") {
- if (type.findn(filter)!=-1) {
+ if (filter.is_subsequence_ofi(type)) {
if (to_select.empty()) {
to_select = type;