diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-02 09:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 09:30:21 +0200 |
commit | 7aca38e218a8d483e8ad81b6d5e7f23b00ce64f4 (patch) | |
tree | b2ef59d156747a1e45c3a8ce2cf4992674289a11 | |
parent | a8a12daed5eaceddb678f730760048a9df652351 (diff) | |
parent | 4065b8dd288f72684d7671669faf1f36f94742d9 (diff) |
Merge pull request #22354 from evandropoa/resources_list_icon_issue
Fix icon issue for the resource list popup #22320.
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 9ee574408c..ea063fa798 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3201,7 +3201,7 @@ Ref<Texture> EditorNode::get_class_icon(const String &p_class, const String &p_f } } - if (p_fallback.length()) + if (p_fallback.length() && gui_base->has_icon(p_fallback, "EditorIcons")) return gui_base->get_icon(p_fallback, "EditorIcons"); return NULL; |