From 77c969878516871b29a9567d8917651d01f273b0 Mon Sep 17 00:00:00 2001 From: sersoong Date: Tue, 2 Jan 2018 10:11:54 +0800 Subject: Add Show In File System to script editor tabs --- editor/plugins/script_editor_plugin.cpp | 12 +++++++++++- editor/plugins/script_editor_plugin.h | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'editor/plugins') diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 73fd64f8db..bc29c92d7f 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1027,6 +1027,15 @@ void ScriptEditor::_menu_option(int p_option) { case FILE_COPY_PATH: { _copy_script_path(); } break; + case SHOW_IN_FILE_SYSTEM: { + ScriptEditorBase *se = Object::cast_to(tab_container->get_child(tab_container->get_current_tab())); + Ref