From c4f31e333361eb8ab8e8fd1b3cf7fb0ace54062c Mon Sep 17 00:00:00 2001 From: Dipal Zambare Date: Tue, 18 Apr 2023 16:30:14 +0200 Subject: [PATCH] Add Close Docs item in script editor context menu --- editor/plugins/script_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index a0ffa5ca0e5..736826c231c 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -3122,6 +3122,7 @@ void ScriptEditor::_make_script_list_context_menu() { context_menu->add_shortcut(ED_GET_SHORTCUT("script_editor/close_file"), FILE_CLOSE); context_menu->add_shortcut(ED_GET_SHORTCUT("script_editor/close_all"), CLOSE_ALL); context_menu->add_shortcut(ED_GET_SHORTCUT("script_editor/close_other_tabs"), CLOSE_OTHER_TABS); + context_menu->add_shortcut(ED_GET_SHORTCUT("script_editor/close_docs"), CLOSE_DOCS); context_menu->add_separator(); if (se) { Ref