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
|
|
@ -201,7 +201,7 @@ void ResourcePreloaderEditor::_update_library() {
|
|||
ERR_CONTINUE(r.is_null());
|
||||
|
||||
String type = r->get_class();
|
||||
ti->set_icon(0, EditorNode::get_singleton()->get_class_icon(type, "Object"));
|
||||
ti->set_icon(0, EditorNode::get_singleton()->get_class_icon(type));
|
||||
ti->set_tooltip_text(0, TTR("Instance:") + " " + r->get_path() + "\n" + TTR("Type:") + " " + type);
|
||||
|
||||
ti->set_text(1, r->get_path());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue