mirror of
https://github.com/godotengine/godot.git
synced 2025-01-19 00:11:19 +00:00
Merge pull request #28972 from erammos/28943_script_editor_plugin
minor change in scriptEdtiorPlugin ref #28943
This commit is contained in:
commit
fead547ba5
@ -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 New Issue
Block a user