mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #29806 from sparkart/master
Bring selected script in view of open scripts list
This commit is contained in:
commit
46bff1ab54
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user