mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use get_slicec instead of get_slice for single character splitters
This commit is contained in:
parent
b5bdb88062
commit
466590d0ec
58 changed files with 210 additions and 210 deletions
|
|
@ -112,7 +112,7 @@ void EditorCommandPalette::_update_command_search(const String &search_text) {
|
|||
|
||||
const int entry_limit = MIN(entries.size(), 300);
|
||||
for (int i = 0; i < entry_limit; i++) {
|
||||
String section_name = entries[i].key_name.get_slice("/", 0);
|
||||
String section_name = entries[i].key_name.get_slicec('/', 0);
|
||||
TreeItem *section;
|
||||
|
||||
if (sections.has(section_name)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue