From fc568d9d5be2011bd24e42cf2a63684c734baa87 Mon Sep 17 00:00:00 2001 From: Emmanuel Barroga Date: Sat, 15 Jun 2019 07:24:03 -0700 Subject: Bring selected script in view of open scripts list Resolves issue: #29721 --- editor/plugins/script_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/plugins/script_editor_plugin.cpp') diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 7456c5d016..1610e5d3d7 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -2056,6 +2056,8 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra se->goto_line(p_line - 1); } } + _update_script_names(); + script_list->ensure_current_is_visible(); return true; } } -- cgit v1.2.3