Merge pull request #113701 from lodetrick/debugger-oops

Fix Debugger Dock not opening and unused BottomPanel code
This commit is contained in:
Thaddeus Crews
2025-12-08 11:53:43 -06:00
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);