mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fixed script tab selection on file close, issue 8400
(cherry picked from commit 3906134003)
This commit is contained in:
parent
75b154f7e0
commit
4aca27e2fa
1 changed files with 3 additions and 0 deletions
|
|
@ -731,6 +731,9 @@ void ScriptEditor::_close_tab(int p_idx) {
|
|||
apply_scripts();
|
||||
}
|
||||
|
||||
// roll back to previous tab
|
||||
_history_back();
|
||||
|
||||
//remove from history
|
||||
history.resize(history_pos + 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue