Fallback to parent class icon by default for gdextension
This commit is contained in:
parent
250ef8dc32
commit
ce2fae79b1
19 changed files with 41 additions and 31 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue