Fix CONTAINER_PROJECT_SETTING_TAB_RIGHT option of EditorPlugin to add to the right of all other tabs.

This commit is contained in:
Allen Pestaluky 2024-10-15 15:07:01 -04:00
parent af77100e39
commit 920fd47fa3

View File

@ -153,7 +153,6 @@ void EditorPlugin::add_control_to_container(CustomControlContainer p_location, C
} break; } break;
case CONTAINER_PROJECT_SETTING_TAB_RIGHT: { case CONTAINER_PROJECT_SETTING_TAB_RIGHT: {
ProjectSettingsEditor::get_singleton()->get_tabs()->add_child(p_control); ProjectSettingsEditor::get_singleton()->get_tabs()->add_child(p_control);
ProjectSettingsEditor::get_singleton()->get_tabs()->move_child(p_control, 1);
} break; } break;
} }