From 518f109927bf09e60f1a938f6ebaea8eb8daff28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 26 Jul 2020 23:18:05 +0200 Subject: [PATCH] Script editor: Don't open dominant script in external editor Fixes #13429. (cherry picked from commits b5f110c77eaef5d9f1b3b0c9308a4eed65f04363, 6b3f013a82557624aac49b567f4a8139848aa40e, and e016859c3b4a324ece0023c34faf9cfe9d729e21) --- editor/plugins/script_editor_plugin.cpp | 33 ++++++++++++------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index b2ebad5ea50..579ea389c64 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -2057,15 +2057,15 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra Ref