Add String::replace_char(s) methods for performance and convenience
This commit is contained in:
parent
c374ce211c
commit
889410dcda
67 changed files with 297 additions and 137 deletions
|
|
@ -81,7 +81,7 @@ void PropertySelector::_update_search() {
|
|||
TreeItem *root = search_options->create_item();
|
||||
|
||||
// Allow using spaces in place of underscores in the search string (makes the search more fault-tolerant).
|
||||
const String search_text = search_box->get_text().replace(" ", "_");
|
||||
const String search_text = search_box->get_text().replace_char(' ', '_');
|
||||
|
||||
if (properties) {
|
||||
List<PropertyInfo> props;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue