mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix StringName not documented for enum hint
This commit is contained in:
parent
0fdbf050e0
commit
86bf1d95fc
2 changed files with 5 additions and 4 deletions
|
|
@ -3859,6 +3859,7 @@ EditorProperty *EditorInspectorDefaultPlugin::get_editor_for_property(Object *p_
|
|||
Vector<String> options;
|
||||
Vector<String> option_names;
|
||||
if (p_hint_text.begins_with(";")) {
|
||||
// This is not supported officially. Only for `interface/editor/editor_language`.
|
||||
for (const String &option : p_hint_text.split(";", false)) {
|
||||
options.append(option.get_slicec('/', 0));
|
||||
option_names.append(option.get_slicec('/', 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue