mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
C#: Fix line in OpenInExternalEditor
(cherry picked from commit 132a1daf1a)
This commit is contained in:
parent
5cc85fb119
commit
85ab269796
3 changed files with 6 additions and 5 deletions
|
|
@ -280,7 +280,7 @@ void EditorInterface::edit_node(Node *p_node) {
|
|||
}
|
||||
|
||||
void EditorInterface::edit_script(const Ref<Script> &p_script, int p_line, int p_col, bool p_grab_focus) {
|
||||
ScriptEditor::get_singleton()->edit(p_script, p_line, p_col, p_grab_focus);
|
||||
ScriptEditor::get_singleton()->edit(p_script, p_line - 1, p_col - 1, p_grab_focus);
|
||||
}
|
||||
|
||||
void EditorInterface::open_scene_from_path(const String &scene_path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue