mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #111134 from KoBeWi/remove_remove_char
Fix enum strings losing space
This commit is contained in:
commit
0f3e975aac
1 changed files with 1 additions and 1 deletions
|
@ -3859,7 +3859,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
|
||||||
option_names.append(option.get_slicec('/', 1));
|
option_names.append(option.get_slicec('/', 1));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
options = p_hint_text.remove_char(' ').split(",", false);
|
options = p_hint_text.split(",", false);
|
||||||
}
|
}
|
||||||
editor->setup(options, option_names, false, (p_hint == PROPERTY_HINT_ENUM_SUGGESTION));
|
editor->setup(options, option_names, false, (p_hint == PROPERTY_HINT_ENUM_SUGGESTION));
|
||||||
return editor;
|
return editor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue