diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 86e2cd256d0..53f0240f636 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1603,7 +1603,12 @@ void EditorNode::_edit_current() { if (main_plugin) { - if (main_plugin != editor_plugin_screen) { + // special case if use of external editor is true + if (main_plugin->get_name() == "Script" && bool(EditorSettings::get_singleton()->get("external_editor/use_external_editor"))){ + main_plugin->edit(current_obj); + } + + else if (main_plugin != editor_plugin_screen) { // update screen main_plugin