minor change in scriptEdtiorPlugin ref #28943
This commit is contained in:
parent
ee5ba3e097
commit
20ebfefad1
1 changed files with 1 additions and 3 deletions
|
@ -3305,9 +3305,7 @@ void ScriptEditorPlugin::edit(Object *p_object) {
|
|||
} else {
|
||||
script_editor->edit(p_script);
|
||||
}
|
||||
}
|
||||
|
||||
if (Object::cast_to<TextFile>(p_object)) {
|
||||
} else if (Object::cast_to<TextFile>(p_object)) {
|
||||
script_editor->edit(Object::cast_to<TextFile>(p_object));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue