Skip to content

Removed debugger X (hide) button

Ghost User requested to merge github/fork/neikeq/rm_dbg_x into master

The button stopped working after 74a48a0. I suppose the following change should fix it:

@@ -783,7 +783,7 @@ void ScriptEditorDebugger::_stack_dump_frame_selected() {

 void ScriptEditorDebugger::_hide_request() {

-   if (EditorNode::get_log()->is_visible())
+   if (is_visible())
        EditorNode::get_singleton()->hide_bottom_panel();
    emit_signal("show_debugger",false);
 }

However, since now you can hide the debugger from the bottom bar, this button no longer makes sense, so I just removed it.

Closes #3418 (closed)

Merge request reports