mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
fix plugin icons not displayed
This commit is contained in:
parent
394508d26d
commit
16b7459cda
1 changed files with 2 additions and 2 deletions
|
@ -1028,8 +1028,8 @@ String EditorData::script_class_get_icon_path(const String &p_class, bool *r_val
|
|||
return String();
|
||||
}
|
||||
HashMap<StringName, String>::ConstIterator E = _script_class_icon_paths.find(current);
|
||||
if ((bool)E && !E->value.is_empty()) {
|
||||
if (r_valid) {
|
||||
if ((bool)E) {
|
||||
if (r_valid && !E->value.is_empty()) {
|
||||
*r_valid = true;
|
||||
}
|
||||
return E->value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue