Remember only permanent bottom tabs

This commit is contained in:
kobewi 2023-06-22 23:14:14 +02:00
parent fd31dc7f32
commit 5dde57e958
6 changed files with 10 additions and 8 deletions

View file

@ -53,7 +53,7 @@ DebuggerEditorPlugin::DebuggerEditorPlugin(PopupMenu *p_debug_menu) {
file_server = memnew(EditorFileServer);
EditorDebuggerNode *debugger = memnew(EditorDebuggerNode);
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger);
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger, true);
// Add separation for the warning/error icon that is displayed later.
db->add_theme_constant_override("h_separation", 6 * EDSCALE);
debugger->set_tool_button(db);