You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
String: Add contains().
This commit is contained in:
@@ -1475,7 +1475,7 @@ void ProjectList::sort_projects() {
|
||||
bool visible = true;
|
||||
if (!_search_term.is_empty()) {
|
||||
String search_path;
|
||||
if (_search_term.find("/") != -1) {
|
||||
if (_search_term.contains("/")) {
|
||||
// Search path will match the whole path
|
||||
search_path = item.path;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user