Remove unused code in EditorBottomPanel and remove deprecated bottom panel operation

This commit is contained in:
Logan Detrick
2025-12-07 00:56:29 -08:00
parent 78d91947f6
commit 58969218d6
4 changed files with 1 additions and 11 deletions

View File

@@ -375,7 +375,7 @@ void EditorRunBar::_run_native(const Ref<EditorExportPreset> &p_preset) {
void EditorRunBar::_profiler_autostart_indicator_pressed() {
// Switch to the first profiler tab in the bottom panel.
EditorNode::get_singleton()->get_bottom_panel()->make_item_visible(EditorDebuggerNode::get_singleton(), true);
EditorDebuggerNode::get_singleton()->make_visible();
if (EditorSettings::get_singleton()->get_project_metadata("debug_options", "autostart_profiler", false)) {
EditorDebuggerNode::get_singleton()->get_current_debugger()->switch_to_debugger(3);