From 68868aabc6f27a8facd8fe3ecb5719bc50f0f3f4 Mon Sep 17 00:00:00 2001 From: George Marques Date: Sun, 12 Jun 2016 13:43:31 -0300 Subject: Add subsequence search to tools Add it to the following searches: - Create node. - Scene tree. - Inspector properties. - Classes list in help. - Quick open. --- tools/editor/property_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/editor/property_editor.cpp') diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 2f0ba2da9..ddeaa0133 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -2804,7 +2804,7 @@ void PropertyEditor::update_tree() { if (capitalize_paths) cat = cat.capitalize(); - if (cat.findn(filter)==-1 && name.findn(filter)==-1) + if (!filter.is_subsequence_ofi(cat) && !filter.is_subsequence_ofi(name)) continue; } -- cgit v1.2.3-70-g09d2