mirror of
https://github.com/godotengine/godot.git
synced 2025-01-09 11:37:35 +00:00
use case insensitive for searching nodes in Scene tree dock
fixes #4674
This commit is contained in:
parent
b58e261d41
commit
afd5186ca3
@ -345,7 +345,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node,TreeItem *p_parent) {
|
||||
item->set_as_cursor(0);
|
||||
}
|
||||
|
||||
bool keep= ( filter==String() || String(p_node->get_name()).find(filter)!=-1 );
|
||||
bool keep= ( filter==String() || String(p_node->get_name()).to_lower().find(filter.to_lower())!=-1 );
|
||||
|
||||
for (int i=0;i<p_node->get_child_count();i++) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user