1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Bring selected script in view of open scripts list

Resolves issue: #29721
This commit is contained in:
Emmanuel Barroga
2019-06-15 07:24:03 -07:00
parent 9c7cce3c9b
commit fc568d9d5b

View File

@@ -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;
}
}