Merge pull request #84404 from MewPurPur/engine-config-old-icon-convention

Fix engine configuration icons using old convention
This commit is contained in:
Yuri Sizov 2023-11-03 12:52:37 +01:00
commit 5ee983188d
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ void EditorBuildProfileManager::_action_confirm() {
void EditorBuildProfileManager::_fill_classes_from(TreeItem *p_parent, const String &p_class, const String &p_selected) {
TreeItem *class_item = class_list->create_item(p_parent);
class_item->set_cell_mode(0, TreeItem::CELL_MODE_CHECK);
class_item->set_icon(0, EditorNode::get_singleton()->get_class_icon(p_class, "Node"));
class_item->set_icon(0, EditorNode::get_singleton()->get_class_icon(p_class));
String text = p_class;
bool disabled = edited->is_class_disabled(p_class);