You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fallback to parent class icon by default for gdextension
This commit is contained in:
@@ -89,7 +89,7 @@ String TextEditor::get_name() {
|
||||
}
|
||||
|
||||
Ref<Texture2D> TextEditor::get_theme_icon() {
|
||||
return EditorNode::get_singleton()->get_object_icon(edited_res.ptr(), "TextFile");
|
||||
return EditorNode::get_singleton()->get_object_icon(edited_res.ptr());
|
||||
}
|
||||
|
||||
Ref<Resource> TextEditor::get_edited_resource() const {
|
||||
|
||||
Reference in New Issue
Block a user