From 66f6a8b4b521395b17f757e64a4341f33df674fe Mon Sep 17 00:00:00 2001 From: sersoong Date: Mon, 20 Nov 2017 13:15:40 +0800 Subject: Add close other tabs to Script Editor --- editor/plugins/script_editor_plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/plugins/script_editor_plugin.h') diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index b8317f9e8..77ca4bc9d 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -135,6 +135,7 @@ class ScriptEditor : public PanelContainer { FILE_CLOSE, CLOSE_DOCS, CLOSE_ALL, + CLOSE_OTHER_TABS, TOGGLE_SCRIPTS_PANEL, FILE_TOOL_RELOAD, FILE_TOOL_RELOAD_SOFT, @@ -251,6 +252,7 @@ class ScriptEditor : public PanelContainer { void _close_current_tab(); void _close_discard_current_tab(const String &p_str); void _close_docs_tab(); + void _close_other_tabs(); void _close_all_tabs(); void _ask_close_current_unsaved_tab(ScriptEditorBase *current); -- cgit v1.2.3-70-g09d2