Fix engine configuration icons using old convention

This commit is contained in:
MewPurPur 2023-11-03 12:50:12 +02:00
parent e3e2528ba7
commit e0399689f4

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);